Define fail in the test to pass on JVM and Native
This commit is contained in:
committed by
Space Team
parent
b1a4d354f1
commit
d6ba233bbe
@@ -30,3 +30,5 @@ fun test(b0: Int) = when {
|
||||
b0 and 0xf8 == 0xf0 -> 3
|
||||
else -> -1
|
||||
}
|
||||
|
||||
fun fail(message: String): Nothing = throw Exception(message)
|
||||
|
||||
Reference in New Issue
Block a user