diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_case_debug.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_case_debug.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_case_debug.txt b/js/scripting-lang/scratch_tests/test_case_debug.txt new file mode 100644 index 0000000..6345e16 --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_case_debug.txt @@ -0,0 +1,9 @@ +/* Minimal test to debug case expressions */ +grade : score -> + when score is + 90 then "A" + 80 then "B" + _ then "F"; + +result : grade 95; +..out result; \ No newline at end of file |