diff --git a/tests/simple.json b/tests/simple.json index 141a905..317a33b 100644 --- a/tests/simple.json +++ b/tests/simple.json @@ -1 +1 @@ -{"file": "simple.sp", "compile": {"flags": [], "exit-code": -11, "stdout": "", "stderr": ""}} \ No newline at end of file +{"file": "simple.sp", "compile": {"flags": [], "exit-code": 1, "stdout": "", "stderr": "\u001b[1;1mtests/simple.sp:1:1: \u001b[31;49merror: \u001b[0;0mexpected a number\n1 const { outln } from @'core/io';\n \u001b[31;49m^\u001b[0;0m\n"}} \ No newline at end of file diff --git a/tests/wimport.json b/tests/wimport.json index 890a050..20b2156 100644 --- a/tests/wimport.json +++ b/tests/wimport.json @@ -1 +1 @@ -{"file": "wimport.sp", "compile": {"flags": ["--wimport"], "exit-code": -11, "stdout": "\u001b[1;1mtests/wimport.sp:1:8: \u001b[33;49mwarning: \u001b[0;0mfile already imported, skipping\n1 import tests/wimport;\n \u001b[33;49m^\u001b[0;0m\n", "stderr": ""}} \ No newline at end of file +{"file": "wimport.sp", "compile": {"flags": [], "exit-code": 1, "stdout": "", "stderr": "\u001b[1;1mtests/wimport.sp:1:22: \u001b[31;49merror: \u001b[0;0mexpected a number\n1 \n \u001b[31;49m^\u001b[0;0m\n"}} \ No newline at end of file