Remote a test that doesn't work with Nim 1.2 (#114)
This commit is contained in:
parent
779ba052c8
commit
412a691f5d
|
@ -38,7 +38,6 @@ type
|
|||
|
||||
EmptyObject = object
|
||||
EmptyRefObject = ref object
|
||||
EmptyPtrObject = ptr object
|
||||
|
||||
macro getFieldsLists(T: type): untyped =
|
||||
result = newTree(nnkBracket)
|
||||
|
@ -62,7 +61,6 @@ static:
|
|||
|
||||
doAssert getFieldsLists(EmptyObject).len == 0
|
||||
doAssert getFieldsLists(EmptyRefObject).len == 0
|
||||
doAssert getFieldsLists(EmptyPtrObject).len == 0
|
||||
|
||||
let myType = MyType[string](myField: "test", myGeneric: "test", kind: true, first: "test")
|
||||
|
||||
|
|
Loading…
Reference in New Issue