summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/relational/errors/syntax.sieve
blob: c9e8188270b3192eb203f85206368576c08164a8 (plain)
1
2
3
4
5
6
7
8
require "relational";
require "comparator-i;ascii-numeric";

# A semicolon in the middle of things
if address :count "eq" ;comparator "i;ascii-numeric" "to" "3" { }

# A sub-command in the middle of things
if not address :comparator "i;ascii-numeric" :value e "to" "3" { }