diff options
Diffstat (limited to '')
-rw-r--r-- | pigeonhole/tests/compile/trivial.sieve | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pigeonhole/tests/compile/trivial.sieve b/pigeonhole/tests/compile/trivial.sieve new file mode 100644 index 0000000..a3dcbc1 --- /dev/null +++ b/pigeonhole/tests/compile/trivial.sieve @@ -0,0 +1,17 @@ +# Commands must be case-insensitive +keep; +Keep; +KEEP; +discard; +DisCaRD; + +# Tags must be case-insensitive +if size :UNDER 34 { +} + +if header :Is "from" "tukker@example.com" { +} + +# Numbers must be case-insensitive +if anyof( size :UNDER 34m, size :oVeR 50M ) { +} |