summary refs log tree commit diff stats
path: root/tests/varres/tprevent_forloopvar_mutations.nim
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/varres/tprevent_forloopvar_mutations.nim
parentaa4f18eff0344c4de828c1e22e440c0734113086 (diff)
downloadNim-7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6.tar.gz
close #17636 (#17643)
Diffstat (limited to 'tests/varres/tprevent_forloopvar_mutations.nim')
-rw-r--r--tests/varres/tprevent_forloopvar_mutations.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim
index 045dc7cbb..96bb208c2 100644
--- a/tests/varres/tprevent_forloopvar_mutations.nim
+++ b/tests/varres/tprevent_forloopvar_mutations.nim
@@ -1,7 +1,6 @@
 discard """
   errormsg: "type mismatch: got <int>"
-  line: 17
-  nimout: '''tprevent_forloopvar_mutations.nim(17, 7) Error: type mismatch: got <int>
+  nimout: '''tprevent_forloopvar_mutations.nim(16, 7) Error: type mismatch: got <int>
 but expected one of:
 proc inc[T: Ordinal](x: var T; y = 1)
   first type mismatch at position: 1