typo: nonexistant => nonexistent (#17918)
* typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
This commit is contained in:
parent
13b57524d3
commit
78e2d299df
16 changed files with 38 additions and 38 deletions
|
|
@ -186,7 +186,7 @@ macro dumpToString*(x: untyped): string =
|
|||
assert dumpToString(a + x) == "a + x: 1 + x = 11"
|
||||
template square(x): untyped = x * x
|
||||
assert dumpToString(square(x)) == "square(x): x * x = 100"
|
||||
assert not compiles dumpToString(1 + nonexistant)
|
||||
assert not compiles dumpToString(1 + nonexistent)
|
||||
import std/strutils
|
||||
assert "failedAssertImpl" in dumpToString(assert true) # example with a statement
|
||||
result = newCall(bindSym"dumpToStringImpl")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue