summary refs log tree commit diff stats
path: root/tests/generics/t13525.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-05-01 15:26:41 -0700
committerGitHub <noreply@github.com>2021-05-02 00:26:41 +0200
commit78e2d299dffc9508430778fcff1dcaee2c8d39fd (patch)
tree52db85ea15ac9d502c4fd601afcec5b9183ea402 /tests/generics/t13525.nim
parent13b57524d35a18df57bec2a7d6a2faa7ce712e9f (diff)
downloadNim-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/generics/t13525.nim')
-rw-r--r--tests/generics/t13525.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/generics/t13525.nim b/tests/generics/t13525.nim
index d1b8df78c..1fd84852b 100644
--- a/tests/generics/t13525.nim
+++ b/tests/generics/t13525.nim
@@ -1,6 +1,6 @@
 # https://github.com/nim-lang/Nim/issues/13524
 template fun(field): untyped = astToStr(field)
-proc test1(): string = fun(nonexistant1)
-proc test2[T](): string = fun(nonexistant2) # used to cause: Error: undeclared identifier: 'nonexistant2'
-doAssert test1() == "nonexistant1"
-doAssert test2[int]() == "nonexistant2"
+proc test1(): string = fun(nonexistent1)
+proc test2[T](): string = fun(nonexistent2) # used to cause: Error: undeclared identifier: 'nonexistent2'
+doAssert test1() == "nonexistent1"
+doAssert test2[int]() == "nonexistent2"