summary refs log tree commit diff stats
path: root/tests/varres
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-05 04:47:28 +0800
committerGitHub <noreply@github.com>2021-04-04 13:47:28 -0700
commit70a30317f7b0a5711e248e0653b50d1c057bd16b (patch)
tree80c3b1f52264cabe83c0ba28627a0b8d89f09ad5 /tests/varres
parentf02e159b56aaa63713991c0a7f8e7125e91c832e (diff)
downloadNim-70a30317f7b0a5711e248e0653b50d1c057bd16b.tar.gz
fix #16693: testament spec nimout too lax (#16698)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'tests/varres')
-rw-r--r--tests/varres/tprevent_forloopvar_mutations.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim
index 15f31d8a3..045dc7cbb 100644
--- a/tests/varres/tprevent_forloopvar_mutations.nim
+++ b/tests/varres/tprevent_forloopvar_mutations.nim
@@ -1,7 +1,7 @@
 discard """
   errormsg: "type mismatch: got <int>"
   line: 17
-  nimout: '''type mismatch: got <int>
+  nimout: '''tprevent_forloopvar_mutations.nim(17, 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