aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChimrod <>2025-01-05 19:00:46 +0100
committerChimrod <>2025-01-05 19:00:46 +0100
commit9e6eb0c04cf5667bb0acc1b56cc21fcaf162ecc9 (patch)
treebe36367695fcfd81dfca691de9db112fdcee076c /test
parent211f0f7a210936bfa0d55d5e14abd2917a3c8903 (diff)
Added new tests
Diffstat (limited to 'test')
-rw-r--r--test/syntax_error.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/syntax_error.ml b/test/syntax_error.ml
index 318cb2c..99f324a 100644
--- a/test/syntax_error.ml
+++ b/test/syntax_error.ml
@@ -117,7 +117,8 @@ let unknow_function () =
let expected =
{ level = Error; loc = _position; message = "Unexpected expression here." }
in
- _test_instruction "a = ran(1, 2)" expected;
+ _test_instruction "ran(1, 2)" expected;
+ _test_instruction "'<<ran(1, 2)>>'" expected;
_test_instruction "rand(1,2))" expected
let inline_elif () =