diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-05-01 15:26:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 00:26:41 +0200 |
commit | 78e2d299dffc9508430778fcff1dcaee2c8d39fd (patch) | |
tree | 52db85ea15ac9d502c4fd601afcec5b9183ea402 /tests/lexer | |
parent | 13b57524d35a18df57bec2a7d6a2faa7ce712e9f (diff) | |
download | Nim-78e2d299dffc9508430778fcff1dcaee2c8d39fd.tar.gz |
typo: nonexistant => nonexistent (#17918)
* typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
Diffstat (limited to 'tests/lexer')
-rw-r--r-- | tests/lexer/tcustom_numeric_literals.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lexer/tcustom_numeric_literals.nim b/tests/lexer/tcustom_numeric_literals.nim index 17933950a..9c49d0c08 100644 --- a/tests/lexer/tcustom_numeric_literals.nim +++ b/tests/lexer/tcustom_numeric_literals.nim @@ -136,8 +136,8 @@ template main = macro deb1(a): untyped = newLit a.repr macro deb2(a): untyped = newLit a.lispRepr doAssert deb1(-12'wrap) == "-12'wrap" - doAssert deb1(-12'nonexistant) == "-12'nonexistant" - doAssert deb2(-12'nonexistant) == """(DotExpr (RStrLit "-12") (Ident "\'nonexistant"))""" + doAssert deb1(-12'nonexistent) == "-12'nonexistent" + doAssert deb2(-12'nonexistent) == """(DotExpr (RStrLit "-12") (Ident "\'nonexistent"))""" when false: # xxx bug: # this holds: doAssert deb2(-12.wrap2) == """(DotExpr (IntLit -12) (Sym "wrap2"))""" |