diff --git a/tests/test_helpers.nim b/tests/test_helpers.nim index 27873c3de..0fcb10489 100644 --- a/tests/test_helpers.nim +++ b/tests/test_helpers.nim @@ -65,7 +65,7 @@ proc lacksSupportedForks*(fixtures: JsonNode): bool = var status = initOrderedTable[string, OrderedTable[string, Status]]() -macro jsonTest*(s: static[string], handler: untyped, skipTest: untyped): untyped = +macro jsonTest*(s: static[string], handler: untyped, skipTest: untyped = skipNothing): untyped = let testStatusIMPL = ident("testStatusIMPL") testName = ident("testName") diff --git a/tests/test_persistblock_json.nim b/tests/test_persistblock_json.nim index 9a867452f..d05b3dd4e 100644 --- a/tests/test_persistblock_json.nim +++ b/tests/test_persistblock_json.nim @@ -40,4 +40,4 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus) = proc persistBlockJsonMain*() = suite "persist block json tests": - jsonTest("PersistBlockTests", testFixture, skipNothing) + jsonTest("PersistBlockTests", testFixture) diff --git a/tests/test_precompiles.nim b/tests/test_precompiles.nim index 3917e9f1b..5652c4764 100644 --- a/tests/test_precompiles.nim +++ b/tests/test_precompiles.nim @@ -102,7 +102,7 @@ const blake2InputTests = [ proc precompilesMain*() = suite "Precompiles": - jsonTest("PrecompileTests", testFixture, skipNothing) + jsonTest("PrecompileTests", testFixture) suite "blake2bf": var output: array[64, byte] diff --git a/tests/test_tracer_json.nim b/tests/test_tracer_json.nim index 262bb657b..f1de13982 100644 --- a/tests/test_tracer_json.nim +++ b/tests/test_tracer_json.nim @@ -14,7 +14,7 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus) proc tracerJsonMain*() = suite "tracer json tests": - jsonTest("TracerTests", testFixture, skipNothing) + jsonTest("TracerTests", testFixture) # use tracerTestGen.nim to generate additional test data proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus) =