summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests/src/parser
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/managesieve/tests/src/parser')
-rw-r--r--plugins/managesieve/tests/src/parser4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/managesieve/tests/src/parser b/plugins/managesieve/tests/src/parser
index 9c4717be4..c99b49814 100644
--- a/plugins/managesieve/tests/src/parser
+++ b/plugins/managesieve/tests/src/parser
@@ -6,13 +6,13 @@ if anyof (header :contains "X-DSPAM-Result" "Spam")
stop;
}
# rule:[test1]
-if anyof (header :comparator "i;ascii-casemap" :contains ["From","To"] "test@domain.tld")
+if anyof (header :contains :comparator "i;ascii-casemap" ["From","To"] "test@domain.tld")
{
discard;
stop;
}
# rule:[test2]
-if anyof (not header :comparator "i;octet" :contains ["Subject"] "[test]", header :contains "Subject" "[test2]")
+if anyof (not header :contains :comparator "i;octet" ["Subject"] "[test]", header :contains "Subject" "[test2]")
{
fileinto "test";
stop;