Remove internal visibility suppressions in kotlin.test

Internal visibility works fine in MPP, so they are no longer required.
This commit is contained in:
Ilya Gorbunov
2019-02-10 19:23:46 +03:00
parent fef0cc5d2b
commit 18f9b20610
3 changed files with 3 additions and 7 deletions
@@ -28,7 +28,6 @@ actual fun todo(block: () -> Unit) {
*/
actual fun <T : Throwable> assertFailsWith(exceptionClass: KClass<T>, message: String?, block: () -> Unit): T {
val exception = assertFails(message, block)
@Suppress("INVISIBLE_MEMBER")
assertTrue(exceptionClass.isInstance(exception), messagePrefix(message) + "Expected an exception of $exceptionClass to be thrown, but was $exception")
@Suppress("UNCHECKED_CAST")