[JS] Add test for KT-43374
This commit is contained in:
Generated
+5
@@ -3040,6 +3040,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/when"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/constantsInWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileWithOneStmWhen.kt")
|
||||
public void testDoWhileWithOneStmWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/doWhileWithOneStmWhen.kt");
|
||||
|
||||
+5
@@ -3040,6 +3040,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/when"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/constantsInWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileWithOneStmWhen.kt")
|
||||
public void testDoWhileWithOneStmWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/doWhileWithOneStmWhen.kt");
|
||||
|
||||
+5
@@ -3055,6 +3055,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/expression/when"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("constantsInWhen.kt")
|
||||
public void testConstantsInWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/constantsInWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileWithOneStmWhen.kt")
|
||||
public void testDoWhileWithOneStmWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/doWhileWithOneStmWhen.kt");
|
||||
|
||||
Reference in New Issue
Block a user