summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/case-empty
blob: 46ea0548c69b9a4668f9946680ff3dd0fb4e3dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# PRE: switch
#
update reply {
	Filter-Id := "filter"
}

switch &reply:Filter-Id {
	# deliberately empty
	case "filter" {
	}

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

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