diff options
author | Chimrod <> | 2025-01-05 19:00:46 +0100 |
---|---|---|
committer | Chimrod <> | 2025-01-05 19:00:46 +0100 |
commit | 9e6eb0c04cf5667bb0acc1b56cc21fcaf162ecc9 (patch) | |
tree | be36367695fcfd81dfca691de9db112fdcee076c /test | |
parent | 211f0f7a210936bfa0d55d5e14abd2917a3c8903 (diff) |
Added new tests
Diffstat (limited to 'test')
-rw-r--r-- | test/syntax_error.ml | 3 |
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 () = |