[JS IR BE] Update test data
This commit is contained in:
committed by
Roman Artemev
parent
02628e8de3
commit
f69bd54d6c
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1113
|
||||
package foo
|
||||
|
||||
@@ -9,11 +8,11 @@ fun box(): String {
|
||||
res = try { 10 } catch(e: Exception) { 20 } finally { 80 }
|
||||
assertEquals(10, res)
|
||||
|
||||
res = try { 10; throw RuntimeException() } catch(e: Exception) { 20 }
|
||||
assertEquals(20, res)
|
||||
res = try { 10; throw RuntimeException() } catch(e: Exception) { 30 }
|
||||
assertEquals(30, res)
|
||||
|
||||
res = try { 10; throw RuntimeException() } catch(e: Exception) { 20 } finally { 100 }
|
||||
assertEquals(20, res)
|
||||
res = try { 10; throw RuntimeException() } catch(e: Exception) { 40 } finally { 100 }
|
||||
assertEquals(40, res)
|
||||
|
||||
res = 50 + try { 10 } catch(e: Exception) { 20 }
|
||||
assertEquals(60, res)
|
||||
|
||||
Reference in New Issue
Block a user