JS test minor: fixed recursion test for inliner
After changes in translator exception is no longer wrapped into another one
This commit is contained in:
@@ -159,9 +159,11 @@ public final class InlineTest extends SingleFileTranslationWithDirectivesTest {
|
|||||||
public void testMutualRecursion() throws Exception {
|
public void testMutualRecursion() throws Exception {
|
||||||
try {
|
try {
|
||||||
checkFooBoxIsOkWithDirectives();
|
checkFooBoxIsOkWithDirectives();
|
||||||
} catch (Exception e) {
|
} catch (InlineRecursionException e) {
|
||||||
assert e.getCause() instanceof InlineRecursionException;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
throw new AssertionError("No exception was thrown for mutual recursion of inline functions");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testInlineOrder() throws Exception {
|
public void testInlineOrder() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user