aboutsummaryrefslogtreecommitdiff
path: root/tests/i/caught-errors
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i/caught-errors')
-rw-r--r--tests/i/caught-errors/expected-stderr.txt4
-rw-r--r--tests/i/caught-errors/expected.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/i/caught-errors/expected-stderr.txt b/tests/i/caught-errors/expected-stderr.txt
new file mode 100644
index 0000000..7c5bfd1
--- /dev/null
+++ b/tests/i/caught-errors/expected-stderr.txt
@@ -0,0 +1,4 @@
+[Fatal] line 7: Division by zero
+[Fatal] line 12: Array index out of bounds
+[Fatal] line 17: Dereference of an unset pointer
+[Fatal] line 22: File 'closed.txt' is not open
diff --git a/tests/i/caught-errors/expected.txt b/tests/i/caught-errors/expected.txt
index ae32ca6..6a677de 100644
--- a/tests/i/caught-errors/expected.txt
+++ b/tests/i/caught-errors/expected.txt
@@ -1,10 +1,6 @@
-[Fatal] line 7: Division by zero
division caught
-[Fatal] line 12: Array index out of bounds
bounds caught
-[Fatal] line 17: Dereference of an unset pointer
pointer caught
-[Fatal] line 22: File 'closed.txt' is not open
file caught
throw caught
alive