summary refs log tree commit diff stats
path: root/tests/effects/tfuncs_cannot_mutate_simple.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/effects/tfuncs_cannot_mutate_simple.nim')
-rw-r--r--tests/effects/tfuncs_cannot_mutate_simple.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/effects/tfuncs_cannot_mutate_simple.nim b/tests/effects/tfuncs_cannot_mutate_simple.nim
index 9de20d1ec..0ae4a0db9 100644
--- a/tests/effects/tfuncs_cannot_mutate_simple.nim
+++ b/tests/effects/tfuncs_cannot_mutate_simple.nim
@@ -1,8 +1,6 @@
 discard """
-  errormsg: "'edit' can have side effects"
-  nimout: '''an object reachable from 'x' is potentially mutated
-tfuncs_cannot_mutate_simple.nim(17, 4) the mutation is here'''
-  line: 16
+  errormsg: '''cannot mutate location x.data within a strict func'''
+  line: 15
 """
 
 {.experimental: "strictFuncs".}