summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/xlat-error
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/keywords/xlat-error')
-rw-r--r--src/tests/keywords/xlat-error12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/keywords/xlat-error b/src/tests/keywords/xlat-error
new file mode 100644
index 0000000..b6a2587
--- /dev/null
+++ b/src/tests/keywords/xlat-error
@@ -0,0 +1,12 @@
+#
+# PRE: if xlat-attr-tag
+#
+
+#
+# missing a closing } for the expansion in the string.
+#
+if ("%{expr:1 + 2" == 3) { # ERROR
+ update reply {
+ Filter-Id := "fail"
+ }
+}