aboutsummaryrefslogtreecommitdiffstats
path: root/test/simple.tl
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple.tl')
-rw-r--r--test/simple.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/simple.tl b/test/simple.tl
index 8b8cb50..3ed4685 100644
--- a/test/simple.tl
+++ b/test/simple.tl
@@ -474,3 +474,9 @@
(test (with-html-output-to-string (out)
(:script "var x = \"" (escj "\"</script>\t") "\""))
"<script>var x = \"\\\"<\\/script>\\t\"</script>")
+
+;;; 44
+;;; Test that esc, escq and escj allow non-string.
+(test (with-html-output-to-string (out)
+ (:p (esc 5) (escq 6) (escj 7)))
+ "<p>567</p>")