From 121d8447dfb466a2ffc0198a38027db360006808 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 24 Aug 2022 13:41:22 +0200 Subject: [PATCH] Update tests --- tests/simple.json | 2 +- tests/wimport.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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