260602.1 · ae78a5c56d6586589f9587902f437385c176eddc
Allow bare put action in transform output
transform/bg-transform now permit bare `put`, inserting the key that triggered the action (`a:transform:echo put` puts `a`).
reading declarations
Changes to src/options_test.go. All files
@@ -572,7 +572,7 @@ func TestValidateSign(t *testing.T) { } func TestParseSingleActionList(t *testing.T) {- actions, _ := parseSingleActionList("Execute@foo+bar,baz@+up+up+reload:down+down")+ actions, _ := parseSingleActionList("Execute@foo+bar,baz@+up+up+reload:down+down", false) if len(actions) != 4 { t.Errorf("Invalid number of actions parsed:%d", len(actions)) }@@ -588,7 +588,7 @@ func TestParseSingleActionList(t *testing.T) { } func TestParseSingleActionListError(t *testing.T) {- _, err := parseSingleActionList("change-query(foobar)baz")+ _, err := parseSingleActionList("change-query(foobar)baz", false) if err == nil { t.Errorf("Failed to detect error") }