From 412a691f5d29c93bee8f083d213ee8f2c6578bed Mon Sep 17 00:00:00 2001 From: zah Date: Mon, 23 May 2022 15:27:04 +0300 Subject: [PATCH] Remote a test that doesn't work with Nim 1.2 (#114) --- tests/test_macros.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_macros.nim b/tests/test_macros.nim index 70166a2..b7d2c88 100644 --- a/tests/test_macros.nim +++ b/tests/test_macros.nim @@ -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")