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.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/twrongexc.nim b/tests/accept/run/twrongexc.nim
index 8ba07bbce..592693769 100755
--- a/tests/accept/run/twrongexc.nim
+++ b/tests/accept/run/twrongexc.nim
@@ -1,6 +1,12 @@
+discard """
+  file: "twrongexc.nim"
+  output: "Error: unhandled exception [EInvalidValue]"
+"""
 try:
   raise newException(EInvalidValue, "")
 except EOverflow:
   echo("Error caught")
   
 
+
+