require "vnd.dovecot.testsuite"; require "relational"; require "comparator-i;ascii-numeric"; /* * Invalid syntax */ test "Invalid Syntax" { if test_script_compile "errors/syntax.sieve" { test_fail "compile should have failed"; } if not test_error :count "eq" :comparator "i;ascii-numeric" "12" { test_fail "wrong number of errors reported"; } }