diff options
Diffstat (limited to 'src/tests/keywords/if-else')
-rw-r--r-- | src/tests/keywords/if-else | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tests/keywords/if-else b/src/tests/keywords/if-else new file mode 100644 index 0000000..788d606 --- /dev/null +++ b/src/tests/keywords/if-else @@ -0,0 +1,15 @@ +# +# PRE: if +# +# Matching "if" conditions +# +if (User-Name != "bob") { + update reply { + Filter-Id := "not bob" + } +} +else { + update reply { + Filter-Id := "filter" + } +} |