summary refs log tree commit diff stats
path: root/tests/destructor/tuse_ownedref_after_move.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructor/tuse_ownedref_after_move.nim')
-rw-r--r--tests/destructor/tuse_ownedref_after_move.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/destructor/tuse_ownedref_after_move.nim b/tests/destructor/tuse_ownedref_after_move.nim
index 46540837c..69348d530 100644
--- a/tests/destructor/tuse_ownedref_after_move.nim
+++ b/tests/destructor/tuse_ownedref_after_move.nim
@@ -1,6 +1,6 @@
 discard """
   cmd: '''nim c --newruntime $file'''
-  errormsg: "'=' is not available for type <owned Button>; requires a copy because it's not the last read of ':envAlt.b1'; another read is done here: tuse_ownedref_after_move.nim(52, 4)"
+  errormsg: "'=copy' is not available for type <owned Button>; requires a copy because it's not the last read of ':envAlt.b1'; routine: main"
   line: 48
 """