From 9e6eb0c04cf5667bb0acc1b56cc21fcaf162ecc9 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Sun, 5 Jan 2025 19:00:46 +0100 Subject: Added new tests --- test/syntax_error.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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 "'<>'" expected; _test_instruction "rand(1,2))" expected let inline_elif () = -- cgit v1.2.3