* assertions: properly fix #11545 * tests/assert: enable excessiveStackTrace * tests/assert: add test case for #11545 * tfailedassert_stacktrace: disable excessiveStackTrace * assertions: weird workaround for failing tests This fixes megatest on *nix, but have no idea why
This commit is contained in:
parent
bd55c862a6
commit
2c10b246ec
5 changed files with 22 additions and 7 deletions
|
|
@ -1,10 +1,11 @@
|
|||
discard """
|
||||
cmd: "nim $target $options --excessiveStackTrace:off $file"
|
||||
output: '''true'''
|
||||
"""
|
||||
|
||||
const expected = """
|
||||
tfailedassert_stacktrace.nim(34) tfailedassert_stacktrace
|
||||
tfailedassert_stacktrace.nim(33) foo
|
||||
tfailedassert_stacktrace.nim(35) tfailedassert_stacktrace
|
||||
tfailedassert_stacktrace.nim(34) foo
|
||||
assertions.nim(*) failedAssertImpl
|
||||
assertions.nim(*) raiseAssert
|
||||
fatal.nim(*) sysFatal"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue