summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/enotify/errors/options.sieve
blob: 58d22652d65b760994b0b8bcc7e309f64ae5bebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "enotify";

# 1: empty option
notify :options "" "mailto:stephan@example.org";

# 2: invalid option name syntax
notify :options "frop" "mailto:stephan@example.org";

# 3: invalid option name syntax
notify :options "_frop=" "mailto:stephan@example.org";

# 4: invalid option name syntax
notify :options "=frop" "mailto:stephan@example.org";

# 5: invalid value
notify :options "frop=frml
frop" "mailto:stephan@example.org";