JS backend: fix KT-5603 (Multiple catch): add tests
This commit is contained in:
@@ -25,4 +25,24 @@ public class TryCatchTest extends AbstractExpressionTest {
|
||||
public void testTryCatchExpr() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testTryCatchThrowable() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testTryCatchCorrectForSubclasses() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testMultipleCatchBlocks() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testTryCatchWithDifferentParameterNames() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testRethrowExceptionIfNotCaught() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user