small bugfixes to make more tests green
This commit is contained in:
parent
84c473a890
commit
1f6725e59e
11 changed files with 40 additions and 11 deletions
10
tests/reject/tmissingnl.nim
Normal file
10
tests/reject/tmissingnl.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
file: "tmissingnl.nim"
|
||||
line: 7
|
||||
errormsg: "newline expected, but found 'keyword var'"
|
||||
"""
|
||||
|
||||
import strutils var s: seq[int] = @[0, 1, 2, 3, 4, 5, 6]
|
||||
|
||||
#s[1..3] = @[]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue