mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 03:03:57 +00:00
require errormsg to be specified before file.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
discard """
|
||||
file: "tassert.nim"
|
||||
outputsub: "assertion failure!this shall be always written"
|
||||
exitcode: "1"
|
||||
"""
|
||||
@@ -19,5 +18,3 @@ finally:
|
||||
system.write(stdout, "this shall be always written")
|
||||
|
||||
assert(false) #OUT assertion failure!this shall be always written
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user