Minor: suppress bogus "cast never succeeds" compiler warning in whitelist manager unit test

This commit is contained in:
Mike Hearn 2016-08-08 15:56:51 +02:00
parent da63ad57a4
commit 2bc77ae095

View File

@ -13,6 +13,8 @@ import kotlin.test.assertEquals
import kotlin.test.assertFailsWith import kotlin.test.assertFailsWith
import kotlin.test.assertTrue import kotlin.test.assertTrue
// We cast null to things in order to select overloads here but Kotlin doesn't know that it's OK.
@Suppress("CAST_NEVER_SUCCEEDS")
class WhitelistTrustManagerTest { class WhitelistTrustManagerTest {
companion object { companion object {
@BeforeClass @BeforeClass