From c52492f6c0973268ef018082f4fc7b15c8d1442d Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 26 Aug 2022 18:02:39 +0200 Subject: [PATCH] Update tests --- tests/top-level-math.json | 9 +++++++++ tests/top-level-math.sp | 1 + 2 files changed, 10 insertions(+) create mode 100644 tests/top-level-math.json create mode 100644 tests/top-level-math.sp 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