diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-29 16:07:51 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:21 +0100 |
commit | 1105d0364401226a2d7d479bd89d77a9da9ed787 (patch) | |
tree | 559160c7497208ca53fb05fc5e97ae03e12e4187 /tests/objvariant | |
parent | ca394ebd9514edd6e5f5e5c3d3145aa868744647 (diff) | |
download | Nim-1105d0364401226a2d7d479bd89d77a9da9ed787.tar.gz |
require errormsg to be specified before file.
Diffstat (limited to 'tests/objvariant')
-rw-r--r-- | tests/objvariant/tadrdisc.nim | 2 | ||||
-rw-r--r-- | tests/objvariant/temptycaseobj.nim | 4 | ||||
-rw-r--r-- | tests/objvariant/tvariantstack.nim | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/objvariant/tadrdisc.nim b/tests/objvariant/tadrdisc.nim index 258fb42f3..a68dddf66 100644 --- a/tests/objvariant/tadrdisc.nim +++ b/tests/objvariant/tadrdisc.nim @@ -1,7 +1,7 @@ discard """ + errormsg: "type mismatch: got <TKind>" file: "tadrdisc.nim" line: 20 - errormsg: "type mismatch: got <TKind>" """ # Test that the address of a dicriminants cannot be taken diff --git a/tests/objvariant/temptycaseobj.nim b/tests/objvariant/temptycaseobj.nim index 53171e054..2b2c40514 100644 --- a/tests/objvariant/temptycaseobj.nim +++ b/tests/objvariant/temptycaseobj.nim @@ -1,6 +1,6 @@ discard """ - line: 11 errormsg: "identifier expected, but got 'keyword of'" + line: 11 """ type @@ -10,5 +10,3 @@ type of enA: of enU: x, y: int of enO: a, b: string - - diff --git a/tests/objvariant/tvariantstack.nim b/tests/objvariant/tvariantstack.nim index 0cdde5a20..31a0d8b82 100644 --- a/tests/objvariant/tvariantstack.nim +++ b/tests/objvariant/tvariantstack.nim @@ -1,6 +1,5 @@ discard """ - file: "tvariantstack.nim" - output: "came here" +output: "came here" """ #BUG type |