diff options
author | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
commit | 02b78d3f94225ab1b204191d0fb199125787f31d (patch) | |
tree | 03c3a5595edf56c8d219c92fec14358c1bf76d69 /tests/parser | |
parent | 5526252fa0218816c3ca5399a7cb927d9b2bbdc4 (diff) | |
download | Nim-02b78d3f94225ab1b204191d0fb199125787f31d.tar.gz |
make tests green again
Diffstat (limited to 'tests/parser')
-rw-r--r-- | tests/parser/tinvcolonlocation1.nim | 4 | ||||
-rw-r--r-- | tests/parser/tinvcolonlocation2.nim | 4 | ||||
-rw-r--r-- | tests/parser/tinvcolonlocation3.nim | 4 | ||||
-rw-r--r-- | tests/parser/twhen_in_enum.nim | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tests/parser/tinvcolonlocation1.nim b/tests/parser/tinvcolonlocation1.nim index cacde48bd..2fddab2f8 100644 --- a/tests/parser/tinvcolonlocation1.nim +++ b/tests/parser/tinvcolonlocation1.nim @@ -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" diff --git a/tests/parser/tinvcolonlocation2.nim b/tests/parser/tinvcolonlocation2.nim index 2b6a92b9d..4251598b9 100644 --- a/tests/parser/tinvcolonlocation2.nim +++ b/tests/parser/tinvcolonlocation2.nim @@ -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" diff --git a/tests/parser/tinvcolonlocation3.nim b/tests/parser/tinvcolonlocation3.nim index 2b30b1dbe..a8db658eb 100644 --- a/tests/parser/tinvcolonlocation3.nim +++ b/tests/parser/tinvcolonlocation3.nim @@ -1,8 +1,8 @@ discard """ file: "tinvcolonlocation3.nim" line: 12 - column: 3 - errormsg: "':' expected" + column: 7 + errormsg: "expected: ':', but got: 'echo'" """ try: echo "try" diff --git a/tests/parser/twhen_in_enum.nim b/tests/parser/twhen_in_enum.nim index d4a3ea56a..3890b686e 100644 --- a/tests/parser/twhen_in_enum.nim +++ b/tests/parser/twhen_in_enum.nim @@ -1,5 +1,5 @@ discard """ - errormsg: "identifier expected, but found 'keyword when'" + errormsg: "identifier expected, but got 'keyword when'" """ # bug #2123 |