fixes #21195; std/assertions continue to use sysFatal when nimPreviewSlimSystem is not defined (#21196)
* fixes #21195; `std/assertions` continue to use `sysFatal` * try includes * make `std/assertions` self-contained * fixes tests * fixes tests
This commit is contained in:
parent
705da9d452
commit
ebd1c678be
7 changed files with 63 additions and 30 deletions
|
|
@ -1,8 +1,8 @@
|
|||
discard """
|
||||
cmd: "nim $target $options --excessiveStackTrace:off $file"
|
||||
cmd: "nim $target $options -d:nimPreviewSlimSystem --excessiveStackTrace:off $file"
|
||||
output: '''true'''
|
||||
"""
|
||||
|
||||
import std/assertions
|
||||
const expected = """
|
||||
tassert_c.nim(35) tassert_c
|
||||
tassert_c.nim(34) foo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue