summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-26 11:32:41 -0700
committerGitHub <noreply@github.com>2021-04-26 11:32:41 -0700
commitf52aa6bde8ba7b36d0589ee8e5d8319e5152237e (patch)
tree39ca145ff814f765f2c41f22fb53accde343c9b1 /tests/errmsgs
parent01267292d8335b21c69e0e4d840d1fa1078cf1b8 (diff)
downloadNim-f52aa6bde8ba7b36d0589ee8e5d8319e5152237e.tar.gz
fix typo in test name undeclared_routime.nim => undeclared_routine.nim (#17861)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/undeclared_routime.nim13
-rw-r--r--tests/errmsgs/undeclared_routine.nim13
-rw-r--r--tests/errmsgs/undeclared_routine2.nim (renamed from tests/errmsgs/undeclared_routime2.nim)0
-rw-r--r--tests/errmsgs/undeclared_routine3.nim (renamed from tests/errmsgs/undeclared_routime3.nim)4
-rw-r--r--tests/errmsgs/undeclared_routine4.nim (renamed from tests/errmsgs/undeclared_routime4.nim)2
-rw-r--r--tests/errmsgs/undeclared_routine5.nim (renamed from tests/errmsgs/undeclared_routime5.nim)2
-rw-r--r--tests/errmsgs/undeclared_routine_compiles.nim (renamed from tests/errmsgs/undeclared_routime_compiles.nim)0
7 files changed, 17 insertions, 17 deletions
diff --git a/tests/errmsgs/undeclared_routime.nim b/tests/errmsgs/undeclared_routime.nim
deleted file mode 100644
index 7ef12cc0e..000000000
--- a/tests/errmsgs/undeclared_routime.nim
+++ /dev/null
@@ -1,13 +0,0 @@
-discard """
-cmd: '''nim c --hints:off $file'''
-errormsg: "attempting to call routine: 'myiter'"
-nimout: '''undeclared_routime.nim(13, 15) Error: attempting to call routine: 'myiter'
-  found 'undeclared_routime.myiter(a: string)[iterator declared in undeclared_routime.nim(10, 9)]'
-  found 'undeclared_routime.myiter()[iterator declared in undeclared_routime.nim(11, 9)]'
-'''
-"""
-
-iterator myiter(a:string): int = discard
-iterator myiter(): int = discard
-
-let a = myiter(1)
diff --git a/tests/errmsgs/undeclared_routine.nim b/tests/errmsgs/undeclared_routine.nim
new file mode 100644
index 000000000..126ade52a
--- /dev/null
+++ b/tests/errmsgs/undeclared_routine.nim
@@ -0,0 +1,13 @@
+discard """
+cmd: '''nim c --hints:off $file'''
+errormsg: "attempting to call routine: 'myiter'"
+nimout: '''undeclared_routine.nim(13, 15) Error: attempting to call routine: 'myiter'
+  found 'undeclared_routine.myiter(a: string)[iterator declared in undeclared_routine.nim(10, 9)]'
+  found 'undeclared_routine.myiter()[iterator declared in undeclared_routine.nim(11, 9)]'
+'''
+"""
+
+iterator myiter(a:string): int = discard
+iterator myiter(): int = discard
+
+let a = myiter(1)
diff --git a/tests/errmsgs/undeclared_routime2.nim b/tests/errmsgs/undeclared_routine2.nim
index 3e48b48f4..3e48b48f4 100644
--- a/tests/errmsgs/undeclared_routime2.nim
+++ b/tests/errmsgs/undeclared_routine2.nim
diff --git a/tests/errmsgs/undeclared_routime3.nim b/tests/errmsgs/undeclared_routine3.nim
index 052adfc08..537871900 100644
--- a/tests/errmsgs/undeclared_routime3.nim
+++ b/tests/errmsgs/undeclared_routine3.nim
@@ -1,8 +1,8 @@
 discard """
 cmd: '''nim c --hints:off $file'''
 errormsg: "undeclared field: 'bar'"
-nimout: '''undeclared_routime3.nim(13, 10) Error: undeclared field: 'bar'
-  found 'undeclared_routime3.bar()[declared in undeclared_routime3.nim(12, 9)]' of kind 'iterator'
+nimout: '''undeclared_routine3.nim(13, 10) Error: undeclared field: 'bar'
+  found 'undeclared_routine3.bar()[declared in undeclared_routine3.nim(12, 9)]' of kind 'iterator'
 '''
 """
 
diff --git a/tests/errmsgs/undeclared_routime4.nim b/tests/errmsgs/undeclared_routine4.nim
index 674caa421..9012a983f 100644
--- a/tests/errmsgs/undeclared_routime4.nim
+++ b/tests/errmsgs/undeclared_routine4.nim
@@ -1,7 +1,7 @@
 discard """
 cmd: '''nim c --hints:off $file'''
 errormsg: "undeclared field: 'bar'"
-nimout: '''undeclared_routime4.nim(10, 10) Error: undeclared field: 'bar'
+nimout: '''undeclared_routine4.nim(10, 10) Error: undeclared field: 'bar'
 '''
 """
 
diff --git a/tests/errmsgs/undeclared_routime5.nim b/tests/errmsgs/undeclared_routine5.nim
index 4394134ab..0387448a4 100644
--- a/tests/errmsgs/undeclared_routime5.nim
+++ b/tests/errmsgs/undeclared_routine5.nim
@@ -1,7 +1,7 @@
 discard """
 cmd: '''nim c --hints:off $file'''
 errormsg: "undeclared identifier: 'myfun'"
-nimout: '''undeclared_routime5.nim(9, 9) Error: undeclared identifier: 'myfun'
+nimout: '''undeclared_routine5.nim(9, 9) Error: undeclared identifier: 'myfun'
 '''
 """
 
diff --git a/tests/errmsgs/undeclared_routime_compiles.nim b/tests/errmsgs/undeclared_routine_compiles.nim
index 21daf82bf..21daf82bf 100644
--- a/tests/errmsgs/undeclared_routime_compiles.nim
+++ b/tests/errmsgs/undeclared_routine_compiles.nim