summary refs log tree commit diff stats
path: root/tests/enum/tenum.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-02-10 05:14:39 +0800
committerGitHub <noreply@github.com>2023-02-09 16:14:39 -0500
commit51f410e1d5c19e42e97057f0b88e87056b7c43e2 (patch)
tree45eda4aa8feb0ed8e65652dba33cfb013adb4684 /tests/enum/tenum.nim
parentbe4912681f0da91f01b93f25861021e085ff5846 (diff)
downloadNim-51f410e1d5c19e42e97057f0b88e87056b7c43e2.tar.gz
megatest now checks refc too (#21341)
* megatest now checks refc too

* fixes refc
Diffstat (limited to 'tests/enum/tenum.nim')
-rw-r--r--tests/enum/tenum.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/enum/tenum.nim b/tests/enum/tenum.nim
index b11b02ec6..88d85ddcc 100644
--- a/tests/enum/tenum.nim
+++ b/tests/enum/tenum.nim
@@ -174,4 +174,5 @@ block: # bug #12589
     proc typ(): OGRwkbGeometryType =
       return wkbPoint25D
 
-    doAssert $typ() == "wkbPoint25D"
+    when not defined(gcRefc):
+      doAssert $typ() == "wkbPoint25D"