From 5d81064b4a531ebec560d7b0dcb8ebddeb087ba9 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Wed, 22 Feb 2017 12:14:19 +0000 Subject: [PATCH] Use proper assertTrue(). --- .../kotlin/net/corda/client/CordaRPCClientTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/integration-test/kotlin/net/corda/client/CordaRPCClientTest.kt b/client/src/integration-test/kotlin/net/corda/client/CordaRPCClientTest.kt index 46fd5f1b1f..b9dee73411 100644 --- a/client/src/integration-test/kotlin/net/corda/client/CordaRPCClientTest.kt +++ b/client/src/integration-test/kotlin/net/corda/client/CordaRPCClientTest.kt @@ -24,6 +24,7 @@ import org.junit.Before import org.junit.Test import java.util.* import kotlin.test.assertEquals +import kotlin.test.assertTrue class CordaRPCClientTest : NodeBasedTest() { private val rpcUser = User("user1", "test", permissions = setOf( @@ -102,7 +103,7 @@ class CordaRPCClientTest : NodeBasedTest() { val proxy = client.proxy() val startCash = proxy.getCashBalances() - assert(startCash.isEmpty(), {"Should not start with any cash"}) + assertTrue(startCash.isEmpty(), "Should not start with any cash") val flowHandle = proxy.startFlow(::CashIssueFlow, 123.DOLLARS, OpaqueBytes.of(0),