summary refs log tree commit diff stats
path: root/tests/exprs/texprstmt.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exprs/texprstmt.nim')
-rw-r--r--tests/exprs/texprstmt.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exprs/texprstmt.nim b/tests/exprs/texprstmt.nim
index 742670cc1..3c9704650 100644
--- a/tests/exprs/texprstmt.nim
+++ b/tests/exprs/texprstmt.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "expression 'result[1 .. BackwardsIndex(1)]' is of type 'string' and has to be discarded"
+  errormsg: "expression 'result[1 .. BackwardsIndex(1)]' is of type 'string' and has to be used (or discarded)"
   line: 10
 """