Fix VerifierDriver

This commit is contained in:
Andras Slemmer 2018-02-22 17:16:43 +00:00
parent dd8a709971
commit cf459dd823

View File

@ -51,13 +51,14 @@ import java.util.concurrent.atomic.AtomicInteger
*/
fun <A> verifierDriver(
defaultParameters: DriverParameters = DriverParameters().copy(
notarySpecs = emptyList(),
initialiseSerialization = false
notarySpecs = emptyList()
),
dsl: VerifierDriverDSL.() -> A
): A {
return genericDriver(
defaultParameters = defaultParameters,
defaultParameters = defaultParameters.copy(
initialiseSerialization = false
),
driverDslWrapper = ::VerifierDriverDSL,
coerce = { it },
dsl = dsl