about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/javascript.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/javascript.scm b/tests/javascript.scm
index b0c6de0..eb70373 100644
--- a/tests/javascript.scm
+++ b/tests/javascript.scm
@@ -209,4 +209,9 @@
                                             '(("inputs" . ()))
                                             '()))
 
+(test-equal "trim whitespace characters in javascript expressions"
+  2
+  (evaluate-javascript-expression " $(1 + 1)\n"
+                                  '()))
+
 (test-end "javascript")