about summary refs log tree commit diff stats
path: root/js/scripting-lang/tests/integration_04_mini_case_multi_param.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/tests/integration_04_mini_case_multi_param.txt')
-rw-r--r--js/scripting-lang/tests/integration_04_mini_case_multi_param.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/scripting-lang/tests/integration_04_mini_case_multi_param.txt b/js/scripting-lang/tests/integration_04_mini_case_multi_param.txt
index be4b71d..279676d 100644
--- a/js/scripting-lang/tests/integration_04_mini_case_multi_param.txt
+++ b/js/scripting-lang/tests/integration_04_mini_case_multi_param.txt
@@ -1,16 +1,16 @@
 /* Multi-parameter case expression at top level */
 x : 1;
 y : 2;
-result1 : case x y of
-    1 2 : "matched"
-    _ _ : "not matched";
+result1 : when x y is
+    1 2 then "matched"
+    _ _ then "not matched";
 
 /* Multi-parameter case expression inside a function */
-f : a b -> case a b of
-    1 2 : "matched"
-    _ _ : "not matched";
-result2 : f 1 2;
-result3 : f 3 4;
+f : a b -> when a b is
+    1 2 then "matched"
+    _ _ then "not matched";
+result2 then f 1 2;
+result3 then f 3 4;
 
 ..out result1;
 ..out result2;