summary refs log tree commit diff stats
path: root/tests/varres
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varres')
-rw-r--r--tests/varres/tprevent_forloopvar_mutations.nim9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim
index 96bb208c2..aae23d8b1 100644
--- a/tests/varres/tprevent_forloopvar_mutations.nim
+++ b/tests/varres/tprevent_forloopvar_mutations.nim
@@ -1,14 +1,5 @@
 discard """
   errormsg: "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
-  required type for x: var T: Ordinal
-  but expression 'i' is immutable, not 'var'
-
-expression: inc i
-'''
 """
 
 for i in 0..10: