summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2018-10-28 12:40:42 +0000
committerAndreas Rumpf <rumpf_a@web.de>2018-10-28 13:40:42 +0100
commitdfb8730f51a022ff02bdd973e6c5946cfdcdc3c6 (patch)
tree41ee6f51c072825cd35e19805ffd62d2f502afde /tests
parentf670c55daa3fdad32c02b9c1f0ec0d9031adee62 (diff)
downloadNim-dfb8730f51a022ff02bdd973e6c5946cfdcdc3c6.tar.gz
Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)
* Fixes #9434
Diffstat (limited to 'tests')
-rw-r--r--tests/exception/tunhandledexc.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/exception/tunhandledexc.nim b/tests/exception/tunhandledexc.nim
index c318aec81..f0fa2bf27 100644
--- a/tests/exception/tunhandledexc.nim
+++ b/tests/exception/tunhandledexc.nim
@@ -1,6 +1,8 @@
 discard """
   file: "tunhandledexc.nim"
-  outputsub: "Error: unhandled exception: bla [ESomeOtherErr]"
+  cmd: "nim $target -d:release $options $file"
+  outputsub: '''tunhandledexc.nim(16)    genErrors
+Error: unhandled exception: bla [ESomeOtherErr]'''
   exitcode: "1"
 """
 type