[JS BE] Merge Legacy and IR BE exceptions-related test data
- regenerate tests - add consistency test
This commit is contained in:
+2
-2
@@ -25,10 +25,10 @@ class MyException2(i1: String, i2: String, m: String? = null, t: Throwable? = nu
|
||||
fun box(): String {
|
||||
check(MyException1("1", "2"), "MyException1")
|
||||
check(MyException1("3", "4", "aaa"), "MyException1: aaa")
|
||||
check(MyException1("5", "6", t = Throwable("bbb")), "MyException1: Throwable: bbb")
|
||||
check(MyException1("5", "6", t = Throwable("bbb")), "MyException1")
|
||||
check(MyException2("7", "8"), "MyException2")
|
||||
check(MyException2("9", "0", "ccc"), "MyException2: ccc")
|
||||
check(MyException2("A", "B", t = Throwable("ddd")), "MyException2: Throwable: ddd")
|
||||
check(MyException2("A", "B", t = Throwable("ddd")), "MyException2")
|
||||
|
||||
if (storage != "1234567890AB") return "FAIL $storage"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user