JS: make kotlin.Throwable = Error. See KT-15312
This commit is contained in:
@@ -13,8 +13,6 @@ fun check(e: Throwable, expectedString: String) {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
check(Throwable(), "Throwable: null")
|
||||
check(Throwable("ccc"), "Throwable: ccc")
|
||||
check(Exception(), "Exception: null")
|
||||
check(Exception("bbb"), "Exception: bbb")
|
||||
check(MyException(), "MyException: null")
|
||||
|
||||
Reference in New Issue
Block a user