diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_parens_in_when.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_parens_in_when.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/js/scripting-lang/scratch_tests/test_parens_in_when.txt b/js/scripting-lang/scratch_tests/test_parens_in_when.txt deleted file mode 100644 index 4b441b4..0000000 --- a/js/scripting-lang/scratch_tests/test_parens_in_when.txt +++ /dev/null @@ -1,22 +0,0 @@ -/* Test parentheses in when expressions */ - -/* Test simple parentheses */ -test1 : when (5) is - 5 then "parentheses work" - _ then "parentheses don't work"; - -..out test1; - -/* Test parentheses with arithmetic */ -test2 : when (5 + 3) is - 8 then "arithmetic in parentheses works" - _ then "arithmetic in parentheses doesn't work"; - -..out test2; - -/* Test parentheses with function calls */ -test3 : when (equals 5 5) is - true then "function call in parentheses works" - _ then "function call in parentheses doesn't work"; - -..out test3; \ No newline at end of file |