summary refs log tree commit diff stats
path: root/tests/accept/run/twrongexc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/twrongexc.nim')
-rwxr-xr-xtests/accept/run/twrongexc.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/accept/run/twrongexc.nim b/tests/accept/run/twrongexc.nim
index 2995360ec..755f7d979 100755
--- a/tests/accept/run/twrongexc.nim
+++ b/tests/accept/run/twrongexc.nim
@@ -1,6 +1,7 @@
 discard """
   file: "twrongexc.nim"
   outputsub: "Error: unhandled exception:  [EInvalidValue]"
+  exitcode: "1"
 """
 try:
   raise newException(EInvalidValue, "")