kotlin-test: binary compatibility for fail function
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@file:kotlin.jvm.JvmMultifileClass
|
||||
@file:kotlin.jvm.JvmName("TestAssertionsKt")
|
||||
package kotlin.test
|
||||
|
||||
@Deprecated("For binary compatibility here.", level = DeprecationLevel.HIDDEN)
|
||||
fun fail(message: String? = null) {
|
||||
throw AssertionError(message ?: "")
|
||||
}
|
||||
Reference in New Issue
Block a user