diff options
Diffstat (limited to 'tests/exprs/texprstmt.nim')
-rw-r--r-- | tests/exprs/texprstmt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exprs/texprstmt.nim b/tests/exprs/texprstmt.nim index 355da2407..79323d82a 100644 --- a/tests/exprs/texprstmt.nim +++ b/tests/exprs/texprstmt.nim @@ -7,6 +7,6 @@ discard """ proc test: string = result = "blah" - result[1 .. -1] + result[1 .. ^1] echo test() |