diff options
author | Araq <rumpf_a@web.de> | 2020-05-02 14:37:16 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-05-02 22:31:19 +0200 |
commit | 7f1d2489ad79d09c649e37b6d2db12f5fdbd86d7 (patch) | |
tree | c6adec18eb5f866442e5e0ce8df13a7644adcd94 /tests/errmsgs/tdont_show_system.nim | |
parent | 87ac28d19ac9740d871ac85a8c79178344c6b7b3 (diff) | |
download | Nim-7f1d2489ad79d09c649e37b6d2db12f5fdbd86d7.tar.gz |
improve the 'has to be discarded' error message
Diffstat (limited to 'tests/errmsgs/tdont_show_system.nim')
-rw-r--r-- | tests/errmsgs/tdont_show_system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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" """ |