summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/switch-xlat-error
blob: d03f6d31cbae0fa824091e3056f7efae308ff62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  PRE: switch
#
switch &User-Name {
	case "%{no-such-module:bob}" {	# ERROR
		update reply {
			Filter-Id := "fail"
		}
	}

	case {
		update reply {
			Filter-Id := "default"
		}
	}

}