This commit is contained in:
Simon Hafner
2015-01-24 18:01:39 -06:00
parent 88450e76fd
commit 9c12ad0187

View File

@@ -1,6 +1,6 @@
discard """
output: '''
WARNING: false first asseertion from bar
WARNING: false first assertion from bar
ERROR: false second assertion from bar
-1
tfailedassert.nim:27 false assertion from foo
@@ -31,7 +31,7 @@ proc bar: int =
# in this proc
onFailedAssert(msg): echo "WARNING: " & msg
assert(false, "first asseertion from bar")
assert(false, "first assertion from bar")
onFailedAssert(msg):
echo "ERROR: " & msg