use 'skipNothing' as default param to 'jsonTest'
This commit is contained in:
parent
2057f88dba
commit
d2b5e1a26d
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -102,7 +102,7 @@ const blake2InputTests = [
|
|||
|
||||
proc precompilesMain*() =
|
||||
suite "Precompiles":
|
||||
jsonTest("PrecompileTests", testFixture, skipNothing)
|
||||
jsonTest("PrecompileTests", testFixture)
|
||||
|
||||
suite "blake2bf":
|
||||
var output: array[64, byte]
|
||||
|
|
|
@ -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) =
|
||||
|
|
Loading…
Reference in New Issue