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

# Invalid variable name
set "${frop}" "frop";
set "...." "frop";
set "name." "frop";
set ".name" "frop";

# Not an error
set "\n\a\m\e" "frop";

# Trying to assign match variable;
set "0" "frop";

# Not an error
set :UPPER "name" "frop";

# Invalid tag
set :inner "name" "frop";