summaryrefslogtreecommitdiff
path: root/tests/output.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/output.at')
-rw-r--r--tests/output.at4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/output.at b/tests/output.at
index 94c618d8..bb6d4491 100644
--- a/tests/output.at
+++ b/tests/output.at
@@ -145,7 +145,9 @@ AT_DATA([$1],
foo: {};
]])
+[cp ]$1[ expout]
AT_BISON_CHECK([$3 $1], $5, [], [$4])
+AT_CHECK([[cat $1]], [[0]], [expout])
AT_CLEANUP
])
@@ -165,7 +167,7 @@ AT_CHECK_CONFLICTING_OUTPUT([foo.y],
])
AT_CHECK_CONFLICTING_OUTPUT([foo.y], [], [-o foo.y],
-[foo.y: fatal error: refusing to overwrite the input file `foo.y'
+[foo.y: refusing to overwrite the input file `foo.y'
], 1)