diff --git a/tools/shell/src/test/kotlin/net/corda/tools/shell/InteractiveShellTest.kt b/tools/shell/src/test/kotlin/net/corda/tools/shell/InteractiveShellTest.kt index e184c6ae86..b7b76ef401 100644 --- a/tools/shell/src/test/kotlin/net/corda/tools/shell/InteractiveShellTest.kt +++ b/tools/shell/src/test/kotlin/net/corda/tools/shell/InteractiveShellTest.kt @@ -29,7 +29,7 @@ class InteractiveShellTest { @Suppress("UNUSED") class FlowA(val a: String) : FlowLogic() { - constructor(b: Int) : this(b.toString()) + constructor(b: Int?) : this(b.toString()) constructor(b: Int?, c: String) : this(b.toString() + c) constructor(amount: Amount) : this(amount.toString()) constructor(pair: Pair, SecureHash.SHA256>) : this(pair.toString()) @@ -115,7 +115,7 @@ class InteractiveShellTest { "[b: String[]]: missing parameter b", "[b: Integer, c: String]: missing parameter b", "[a: String]: missing parameter a", - "[b: int]: missing parameter b" + "[b: Integer]: missing parameter b" ) val errors = e.errors.toHashSet() errors.removeAll(correct)