Adds smaller code samples from Chapters 1-3 to the tester.
This commit is contained in:
parent
8081a9b3d0
commit
9e86237855
11 changed files with 642 additions and 1 deletions
7
tests/niminaction/Chapter2/no_iterator.nim
Normal file
7
tests/niminaction/Chapter2/no_iterator.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
line: 6
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
|
||||
for i in 5:
|
||||
echo i
|
||||
Loading…
Add table
Add a link
Reference in a new issue