about summary refs log tree commit diff stats
path: root/js/scripting-lang/tests/14_error_handling.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/tests/14_error_handling.txt')
-rw-r--r--js/scripting-lang/tests/14_error_handling.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/scripting-lang/tests/14_error_handling.txt b/js/scripting-lang/tests/14_error_handling.txt
index 36fa9de..09e414d 100644
--- a/js/scripting-lang/tests/14_error_handling.txt
+++ b/js/scripting-lang/tests/14_error_handling.txt
@@ -41,7 +41,7 @@ complex_error_handling : input -> when input is
     input > 100 then "too large"
     _ then "valid";
 
-complex_result1 : complex_error_handling -5;
+complex_result1 : complex_error_handling (-5);
 complex_result2 : complex_error_handling 0;
 complex_result3 : complex_error_handling 150;
 complex_result4 : complex_error_handling 50;