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 79323d82a..3c9704650 100644
--- a/tests/exprs/texprstmt.nim
+++ b/tests/exprs/texprstmt.nim
@@ -1,6 +1,6 @@
 discard """
+  errormsg: "expression 'result[1 .. BackwardsIndex(1)]' is of type 'string' and has to be used (or discarded)"
   line: 10
-  errormsg: "value of type 'string' has to be discarded"
 """
 
 # bug #578