summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/if-else
blob: 788d60668cbf83ea74c29104211b1a094cbdd297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# PRE: if
#
#  Matching "if" conditions
#
if (User-Name != "bob") {
	update reply {
		Filter-Id := "not bob"
	}
}
else {
	update reply {
		Filter-Id := "filter"
	}
}