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 4a58f3a..91b91bd 100644
--- a/tests/javascript.scm
+++ b/tests/javascript.scm
@@ -186,4 +186,9 @@
                                     ("self" . #f)
                                     ("runtime" . #f))))
 
+(test-error "missing key in parameter reference must raise an error" #t
+            (evaluate-javascript-expression "$(inputs.fbar)"
+                                            '(("inputs" . ()))
+                                            '()))
+
 (test-end "javascript")