From 1105d0364401226a2d7d479bd89d77a9da9ed787 Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Thu, 29 Nov 2018 16:07:51 +0100 Subject: require errormsg to be specified before file. --- tests/discard/tneedsdiscard.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/discard/tneedsdiscard.nim') diff --git a/tests/discard/tneedsdiscard.nim b/tests/discard/tneedsdiscard.nim index 8d59e7fec..7d2997b3f 100644 --- a/tests/discard/tneedsdiscard.nim +++ b/tests/discard/tneedsdiscard.nim @@ -1,6 +1,6 @@ discard """ - line: 10 errormsg: '''expression 'open(f, "arg.txt", fmRead, -1)' is of type 'bool' and has to be discarded; start of expression here: tneedsdiscard.nim(7, 2)''' + line: 10 """ proc p = -- cgit 1.4.1-2-gfad0