summary refs log tree commit diff stats
path: root/tests/stdlib/tstrutils2.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-06 13:16:50 +0800
committerGitHub <noreply@github.com>2022-10-06 07:16:50 +0200
commit723a71bd229cad3498f01c3095a10cf9f6c3255d (patch)
tree02e51620ef031633f8a78a153eef8351a2e19f60 /tests/stdlib/tstrutils2.nim
parent964afd30508c40f2a415d96d7bcdcabfeb26ae52 (diff)
downloadNim-723a71bd229cad3498f01c3095a10cf9f6c3255d.tar.gz
follow up #20109; remove `shallow` seqs/strings for ORC (#20502)
* remove `shallow` seqs/strings for ORC

* add a changelog item

* change url of DelaunayNim
Diffstat (limited to 'tests/stdlib/tstrutils2.nim')
-rw-r--r--tests/stdlib/tstrutils2.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/stdlib/tstrutils2.nim b/tests/stdlib/tstrutils2.nim
index 22a935ab8..2cb5b8ec4 100644
--- a/tests/stdlib/tstrutils2.nim
+++ b/tests/stdlib/tstrutils2.nim
@@ -18,7 +18,8 @@ block: # setLen
 block: # forceCopy
   var a: string
   a = "foo"
-  shallow(a)
+  when defined(gcRefc):
+    shallow(a)
   var b: string
   b = a
   doAssert b[0].addr == a[0].addr