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

switch &Filter-Id {
	case "" {
		update reply {
			Filter-Id := "filter"
		}
	}

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

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