summary refs log tree commit diff stats
path: root/tests/ccgbugs
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-29 16:07:51 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:21 +0100
commit1105d0364401226a2d7d479bd89d77a9da9ed787 (patch)
tree559160c7497208ca53fb05fc5e97ae03e12e4187 /tests/ccgbugs
parentca394ebd9514edd6e5f5e5c3d3145aa868744647 (diff)
downloadNim-1105d0364401226a2d7d479bd89d77a9da9ed787.tar.gz
require errormsg to be specified before file.
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r--tests/ccgbugs/tcgbug.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ccgbugs/tcgbug.nim b/tests/ccgbugs/tcgbug.nim
index ffaa91ff3..eda475d4f 100644
--- a/tests/ccgbugs/tcgbug.nim
+++ b/tests/ccgbugs/tcgbug.nim
@@ -1,6 +1,6 @@
 discard """
-  file: "tcgbug.nim"
-  output: '''success
+output: '''
+success
 M1 M2
 '''
 """
@@ -74,5 +74,5 @@ proc newMyObjectRef(kind: MyKind, val: string): MyObjectRef =
     of M2: result.b = parseFloat(val)
     of M3: result.c = val
 
- 
-echo newMyObject(M1, "2").kind, " ", newMyObjectRef(M2, "3").kind
\ No newline at end of file
+
+echo newMyObject(M1, "2").kind, " ", newMyObjectRef(M2, "3").kind