summary refs log blame commit diff stats
path: root/tests/assert/trelativeassert.nim
blob: 62ab2c4214ed94351685e1d5d8329e3c04e25e24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                          
discard """
  cmd: "nim $target $options --excessiveStackTrace:off $file"
  output: '''
test:ok
'''
"""
import testhelper
try:
  doAssert(false, "msg")
except AssertionError as e:
  checkMsg(e.msg, "trelativeassert.nim(9, 11) `false` msg", "test", false)