summary refs log tree commit diff stats
path: root/tests/arc/tdeepcopy.nim
diff options
context:
space:
mode:
authorcooldome <ariabushenko@gmail.com>2020-10-01 16:39:48 +0100
committerGitHub <noreply@github.com>2020-10-01 17:39:48 +0200
commit531ed2dc365d6d33c7bccdfbe22df561cf14af86 (patch)
treed4d88cf40fb7b6f805011c4796e421bffc212fef /tests/arc/tdeepcopy.nim
parent3919f0aa544d84c7a236e5095b87d7d0c8fb63b4 (diff)
downloadNim-531ed2dc365d6d33c7bccdfbe22df561cf14af86.tar.gz
fix #15405. deepcopy arc (#15410)
* fix #15405
* fix tests
* deepcopy for ARC has to be enabled via --deepcopy:on

Co-authored-by: Araq <rumpf_a@web.de>
Diffstat (limited to 'tests/arc/tdeepcopy.nim')
-rw-r--r--tests/arc/tdeepcopy.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/tdeepcopy.nim b/tests/arc/tdeepcopy.nim
index 0eaf7ea40..91d93aa28 100644
--- a/tests/arc/tdeepcopy.nim
+++ b/tests/arc/tdeepcopy.nim
@@ -1,5 +1,5 @@
 discard """
-  cmd: "nim c --gc:arc $file"
+  cmd: "nim c --gc:arc --deepcopy:on $file"
   output: '''13 abc
 13 abc
 13 abc