summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-12-30 03:15:08 +0800
committerGitHub <noreply@github.com>2022-12-29 14:15:08 -0500
commitebd1c678be5e0acee4fca67e1b7060234821ccf6 (patch)
treee8bd4a8832837cc03f7bd5356b197f08465466cf /tests/errmsgs
parent705da9d452d19536689a32a8d4378bcce2ec320a (diff)
downloadNim-ebd1c678be5e0acee4fca67e1b7060234821ccf6.tar.gz
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
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/t9768.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/t9768.nim b/tests/errmsgs/t9768.nim
index 058d297b3..b5ff58367 100644
--- a/tests/errmsgs/t9768.nim
+++ b/tests/errmsgs/t9768.nim
@@ -1,14 +1,14 @@
 discard """
   errormsg: "unhandled exception: t9768.nim(24, 3) `a < 4`  [AssertionDefect]"
   file: "std/assertions.nim"
+  matrix: "-d:nimPreviewSlimSystem"
   nimout: '''
 stack trace: (most recent call last)
 t9768.nim(29, 33)        main
 t9768.nim(24, 11)        foo1
 '''
 """
-
-
+import std/assertions