megatest now checks refc too (#21341)
* megatest now checks refc too * fixes refc
This commit is contained in:
parent
be4912681f
commit
51f410e1d5
5 changed files with 15 additions and 3 deletions
|
|
@ -174,4 +174,5 @@ block: # bug #12589
|
|||
proc typ(): OGRwkbGeometryType =
|
||||
return wkbPoint25D
|
||||
|
||||
doAssert $typ() == "wkbPoint25D"
|
||||
when not defined(gcRefc):
|
||||
doAssert $typ() == "wkbPoint25D"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
matrix: "--mm:orc"
|
||||
"""
|
||||
|
||||
type
|
||||
Foo = object
|
||||
y: int
|
||||
|
|
|
|||
|
|
@ -66,7 +66,8 @@ let limit = 1'u64
|
|||
|
||||
let rangeVar = 0'u64 ..< limit
|
||||
|
||||
doAssert repr(rangeVar) == """0 .. 0""", repr(rangeVar)
|
||||
when not defined(gcRefc):
|
||||
doAssert repr(rangeVar) == """0 .. 0""", repr(rangeVar)
|
||||
|
||||
# bug #15210
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
doAssert repr(int) == "int"
|
||||
discard """
|
||||
matrix: "--mm:orc"
|
||||
"""
|
||||
|
||||
doAssert repr(int) == "int"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue