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