typo fix
This commit is contained in:
parent
88450e76fd
commit
9c12ad0187
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
discard """
|
discard """
|
||||||
output: '''
|
output: '''
|
||||||
WARNING: false first asseertion from bar
|
WARNING: false first assertion from bar
|
||||||
ERROR: false second assertion from bar
|
ERROR: false second assertion from bar
|
||||||
-1
|
-1
|
||||||
tfailedassert.nim:27 false assertion from foo
|
tfailedassert.nim:27 false assertion from foo
|
||||||
|
|
@ -31,7 +31,7 @@ proc bar: int =
|
||||||
# in this proc
|
# in this proc
|
||||||
onFailedAssert(msg): echo "WARNING: " & msg
|
onFailedAssert(msg): echo "WARNING: " & msg
|
||||||
|
|
||||||
assert(false, "first asseertion from bar")
|
assert(false, "first assertion from bar")
|
||||||
|
|
||||||
onFailedAssert(msg):
|
onFailedAssert(msg):
|
||||||
echo "ERROR: " & msg
|
echo "ERROR: " & msg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue