BC native tests port to Konan's TestRunner
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
fun main(args : Array<String>) {
|
||||
package runtime.basic.throw0
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Test fun runTest() {
|
||||
val cond = 1
|
||||
if (cond == 2) throw RuntimeException()
|
||||
if (cond == 3) throw NoSuchElementException("no such element")
|
||||
|
||||
Reference in New Issue
Block a user