-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix typo in test name undeclared_routime.nim => undeclared_routine.nim (
- Loading branch information
1 parent
0126729
commit f52aa6b
Showing
7 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
tests/errmsgs/undeclared_routime3.nim → tests/errmsgs/undeclared_routine3.nim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/errmsgs/undeclared_routime4.nim → tests/errmsgs/undeclared_routine4.nim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/errmsgs/undeclared_routime5.nim → tests/errmsgs/undeclared_routine5.nim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.