Remote a test that doesn't work with Nim 1.2 (#114)

This commit is contained in:
zah 2022-05-23 15:27:04 +03:00 committed by GitHub
parent 779ba052c8
commit 412a691f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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")