!! operator
kotlin_lib.js modified, truthful description of MiscTest class added. #KT-1960 fixed
This commit is contained in:
@@ -25,8 +25,7 @@ import static org.jetbrains.k2js.test.utils.JsTestUtils.failsOnEcmaV5;
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
* <p/>
|
||||
* This class contains tests that do not fall in any particular category
|
||||
* most probably because that functionality has very little support
|
||||
* A messy class where all new tests go before they are sorted which never happens.
|
||||
*/
|
||||
public final class MiscTest extends AbstractExpressionTest {
|
||||
|
||||
@@ -148,4 +147,12 @@ public final class MiscTest extends AbstractExpressionTest {
|
||||
}
|
||||
|
||||
|
||||
public void testExclExclThrows() throws Exception {
|
||||
try {
|
||||
fooBoxTest();
|
||||
fail();
|
||||
}
|
||||
catch (JavaScriptException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user