summary refs log tree commit diff stats
path: root/tests/exprs/tstmtexp.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exprs/tstmtexp.nim')
-rw-r--r--tests/exprs/tstmtexp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exprs/tstmtexp.nim b/tests/exprs/tstmtexp.nim
index 75d8dd081..0ae866497 100644
--- a/tests/exprs/tstmtexp.nim
+++ b/tests/exprs/tstmtexp.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "expression '5' is of type 'int literal(5)' and has to be discarded"
+  errormsg: "expression '5' is of type 'int literal(5)' and has to be used (or discarded)"
   file: "tstmtexp.nim"
   line: 8
 """