From ef582900cf16ceb7e358b05802e8b69b0a0e8d99 Mon Sep 17 00:00:00 2001 From: Ryan Fowler Date: Thu, 25 Jun 2020 17:26:55 +0100 Subject: [PATCH] NOTICK Expand the regex to match what we already do in ENT (#6400) --- node/src/integration-test/kotlin/net/corda/node/NodeRPCTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/integration-test/kotlin/net/corda/node/NodeRPCTests.kt b/node/src/integration-test/kotlin/net/corda/node/NodeRPCTests.kt index f59887f803..bceb35ecef 100644 --- a/node/src/integration-test/kotlin/net/corda/node/NodeRPCTests.kt +++ b/node/src/integration-test/kotlin/net/corda/node/NodeRPCTests.kt @@ -11,7 +11,7 @@ import kotlin.test.assertEquals import kotlin.test.assertTrue class NodeRPCTests { - private val CORDA_VERSION_REGEX = "\\d+(\\.\\d+)?(-\\w+)?".toRegex() + private val CORDA_VERSION_REGEX = "\\d+(\\.\\d+)?(\\.\\d+)?(-\\w+)?".toRegex() private val CORDA_VENDOR = "Corda Open Source" private val CORDAPPS = listOf(FINANCE_CONTRACTS_CORDAPP, FINANCE_WORKFLOWS_CORDAPP) private val CORDAPP_TYPES = setOf("Contract CorDapp", "Workflow CorDapp")