diff options
Diffstat (limited to 'src/tests/keywords/switch-default')
-rw-r--r-- | src/tests/keywords/switch-default | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tests/keywords/switch-default b/src/tests/keywords/switch-default new file mode 100644 index 0000000..6115ed9 --- /dev/null +++ b/src/tests/keywords/switch-default @@ -0,0 +1,22 @@ +# PRE: switch +# +switch User-Name { + case "harry" { + update reply { + Filter-Id := "harry" + } + } + + case "doug" { + update reply { + Filter-Id := "doug" + } + } + + case { + update reply { + Filter-Id := "filter" + } + } + +}
\ No newline at end of file |