about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_func_call_value.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_func_call_value.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_func_call_value.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/scripting-lang/scratch_tests/test_func_call_value.txt b/js/scripting-lang/scratch_tests/test_func_call_value.txt
deleted file mode 100644
index 1f222d8..0000000
--- a/js/scripting-lang/scratch_tests/test_func_call_value.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Test what the function call evaluates to */
-is_even : n -> n % 2 = 0;
-
-test_value : n ->
-  when is_even n is
-    is_even n then "same value"
-    true then "true"
-    false then "false"
-    _ then "other";
-
-result : test_value 4;
-..out result; 
\ No newline at end of file