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










                                              
discard """
  cmd: "nim $target -d:release $options $file"
  output: '''
assertion occured!!!!!! false
'''
"""

onFailedAssert(msg):
  echo("assertion occured!!!!!! ", msg)

doAssert(1 == 2)