kotlin-test: binary compatibility for fail function

This commit is contained in:
Sergey Mashkov
2015-12-18 16:25:58 +03:00
parent f21b6a4777
commit a97e623d04
4 changed files with 11 additions and 3 deletions
@@ -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 ?: "")
}