about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_func_call_when.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_func_call_when.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_func_call_when.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/scripting-lang/scratch_tests/test_func_call_when.txt b/js/scripting-lang/scratch_tests/test_func_call_when.txt
deleted file mode 100644
index 469440a..0000000
--- a/js/scripting-lang/scratch_tests/test_func_call_when.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Test function calls in when expressions */
-is_even : n -> n % 2 = 0;
-
-test_func_call : n ->
-  when is_even n is
-    true then "even number"
-    false then "odd number";
-
-result : test_func_call 4;
-..out result; 
\ No newline at end of file