blob: 4bfe2dc5fca2ec6fb9a5be09988db6a6cfa12e6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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" "7" {
test_fail "wrong number of errors reported";
}
}
|