summary refs log tree commit diff stats
path: root/tests/views
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-06 22:20:01 +0800
committerGitHub <noreply@github.com>2021-04-06 16:20:01 +0200
commit7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6 (patch)
treeb4bd4353829491d22b0cc6cde0b7d7c6efb7351e /tests/views
parentaa4f18eff0344c4de828c1e22e440c0734113086 (diff)
downloadNim-7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6.tar.gz
close #17636 (#17643)
Diffstat (limited to 'tests/views')
-rw-r--r--tests/views/tcannot_borrow.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/views/tcannot_borrow.nim b/tests/views/tcannot_borrow.nim
index d1c194b25..0b8793159 100644
--- a/tests/views/tcannot_borrow.nim
+++ b/tests/views/tcannot_borrow.nim
@@ -1,8 +1,7 @@
 discard """
   errormsg: "cannot borrow"
-  nimout: '''tcannot_borrow.nim(21, 7) Error: cannot borrow meh; what it borrows from is potentially mutated
-tcannot_borrow.nim(22, 3) the mutation is here'''
-  line: 21
+  nimout: '''tcannot_borrow.nim(20, 7) Error: cannot borrow meh; what it borrows from is potentially mutated
+tcannot_borrow.nim(21, 3) the mutation is here'''
 """