tests for decompiled texts: AssertionError -> RuntimeException

This commit is contained in:
Michael Nedzelsky
2015-05-18 20:09:06 +03:00
parent a0dc22b464
commit c362db7330
3 changed files with 4 additions and 4 deletions
@@ -7,7 +7,7 @@ abstract class SimpleClass: D<Tr, Int>(), Tr, List<String> {
}
fun g(d: D<String, Tr>): List<D<A, Int>> {
throw AssertionError()
throw RuntimeException()
}
fun Int.f() {
@@ -24,6 +24,6 @@ abstract class SimpleClass: D<Tr, Int>(), Tr, List<String> {
get() = this + 2
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
throw AssertionError()
throw RuntimeException()
}
}