default -> companion: replace all mentions of default and default object
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ package org.jetbrains.kotlin.js.test.semantics
|
||||
|
||||
import org.jetbrains.kotlin.js.test.SingleFileTranslationTest
|
||||
|
||||
public abstract class AbstractDefaultObjectTest : SingleFileTranslationTest("objectIntrinsics/")
|
||||
public abstract class AbstractCompanionObjectTest : SingleFileTranslationTest("objectIntrinsics/")
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/box/objectIntrinsics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class DefaultObjectTestGenerated extends AbstractDefaultObjectTest {
|
||||
public class CompanionObjectTestGenerated extends AbstractCompanionObjectTest {
|
||||
public void testAllFilesPresentInObjectIntrinsics() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
Reference in New Issue
Block a user