diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/keywords/case-empty-string | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/tests/keywords/case-empty-string b/src/tests/keywords/case-empty-string new file mode 100644 index 0000000..4b8e7cd --- /dev/null +++ b/src/tests/keywords/case-empty-string @@ -0,0 +1,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" + } + } +} |