make tests green again

This commit is contained in:
Araq 2018-05-14 21:38:18 +02:00
commit 02b78d3f94
20 changed files with 33 additions and 33 deletions

View file

@ -1,8 +1,8 @@
discard """
file: "tinvcolonlocation1.nim"
line: 8
column: 3
errormsg: "':' expected"
column: 7
errormsg: "expected: ':', but got: 'echo'"
"""
try #<- missing ':'
echo "try"

View file

@ -1,8 +1,8 @@
discard """
file: "tinvcolonlocation2.nim"
line: 11
column: 1
errormsg: "':' expected"
column: 8
errormsg: "expected: ':', but got: 'keyword finally'"
"""
try:
echo "try"

View file

@ -1,8 +1,8 @@
discard """
file: "tinvcolonlocation3.nim"
line: 12
column: 3
errormsg: "':' expected"
column: 7
errormsg: "expected: ':', but got: 'echo'"
"""
try:
echo "try"

View file

@ -1,5 +1,5 @@
discard """
errormsg: "identifier expected, but found 'keyword when'"
errormsg: "identifier expected, but got 'keyword when'"
"""
# bug #2123