mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Use proper assertTrue().
This commit is contained in:
parent
0832ea405e
commit
5d81064b4a
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user