diff options
author | cooldome <cdome@bk.ru> | 2018-10-28 12:40:42 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-28 13:40:42 +0100 |
commit | dfb8730f51a022ff02bdd973e6c5946cfdcdc3c6 (patch) | |
tree | 41ee6f51c072825cd35e19805ffd62d2f502afde /tests | |
parent | f670c55daa3fdad32c02b9c1f0ec0d9031adee62 (diff) | |
download | Nim-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.nim | 4 |
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 |