summary refs log tree commit diff stats
path: root/tests/destructor/tuse_ownedref_after_move.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-10-15 12:52:30 +0200
committerGitHub <noreply@github.com>2020-10-15 12:52:30 +0200
commitda4aa2e1fb8b0084fcf03b85edf4a5c1d0170856 (patch)
tree4d8fe99314d844bb7b44377568eebfd7b86e7f92 /tests/destructor/tuse_ownedref_after_move.nim
parent42c180c665cb283bcb07e078a5ff91c69c84fa62 (diff)
downloadNim-da4aa2e1fb8b0084fcf03b85edf4a5c1d0170856.tar.gz
renamed '=' to '=copy' [backport:1.2] (#15585)
* Assign hook name changed to `=copy`
* Adapt destructors.rst
* [nobackport] Duplicate tests for =copy hook
* Fix tests
* added a changelog entry

Co-authored-by: Clyybber <darkmine956@gmail.com>
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..ce96b741e 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'; another read is done here: tuse_ownedref_after_move.nim(52, 4)"
   line: 48
 """