diff options
Diffstat (limited to 'js/scripting-lang/tests/11_edge_cases.txt')
-rw-r--r-- | js/scripting-lang/tests/11_edge_cases.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/scripting-lang/tests/11_edge_cases.txt b/js/scripting-lang/tests/11_edge_cases.txt index ceb39b4..dce90e3 100644 --- a/js/scripting-lang/tests/11_edge_cases.txt +++ b/js/scripting-lang/tests/11_edge_cases.txt @@ -20,9 +20,9 @@ complex_negative3 : -5 + 3; ..assert complex_negative3 = -2; /* Test unary minus in function calls */ -abs : x -> case x of - x < 0 : -x - _ : x; +abs : x -> when x is + x < 0 then -x + _ then x; abs1 : abs -5; abs2 : abs 5; |