From 7f1d2489ad79d09c649e37b6d2db12f5fdbd86d7 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 2 May 2020 14:37:16 +0200 Subject: improve the 'has to be discarded' error message --- tests/errmsgs/tdont_show_system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/errmsgs') diff --git a/tests/errmsgs/tdont_show_system.nim b/tests/errmsgs/tdont_show_system.nim index 830113218..164fdd801 100644 --- a/tests/errmsgs/tdont_show_system.nim +++ b/tests/errmsgs/tdont_show_system.nim @@ -1,5 +1,5 @@ discard """ - errormsg: "expression 'true' is of type 'bool' and has to be discarded" + errormsg: "expression 'true' is of type 'bool' and has to be used (or discarded)" line: 13 file: "tdont_show_system.nim" """ -- cgit 1.4.1-2-gfad0