summary refs log tree commit diff stats
path: root/tests/destructor/tprevent_assign.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructor/tprevent_assign.nim')
-rw-r--r--tests/destructor/tprevent_assign.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/destructor/tprevent_assign.nim b/tests/destructor/tprevent_assign.nim
index 108ccc371..4c484ebc1 100644
--- a/tests/destructor/tprevent_assign.nim
+++ b/tests/destructor/tprevent_assign.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "'=' is not available for type <Foo>; requires a copy because it's not the last read of 'otherTree'"
+  errormsg: "'=copy' is not available for type <Foo>; requires a copy because it's not the last read of 'otherTree'"
   line: 29
 """