diff --git a/tests/top-level-math.json b/tests/top-level-math.json new file mode 100644 index 0000000..2a88d26 --- /dev/null +++ b/tests/top-level-math.json @@ -0,0 +1,9 @@ +{ + "file": "top-level-math.sp", + "compile": { + "flags": [], + "exit-code": 1, + "stdout": "", + "stderr": "\u001b[1;1mtests/top-level-math.sp:1:1: \u001b[31;49merror: \u001b[0;0mExpected let\n1 \n \u001b[31;49m^\u001b[0;0m\n" + } +} \ No newline at end of file diff --git a/tests/top-level-math.sp b/tests/top-level-math.sp new file mode 100644 index 0000000..b1d35f1 --- /dev/null +++ b/tests/top-level-math.sp @@ -0,0 +1 @@ +4 + 5 - 6 \ No newline at end of file