[FIR] KT-57665: Ensure the current K2 behavior differs from K1

This commit is contained in:
Nikolay Lunyak
2023-03-31 17:14:17 +03:00
committed by Space Team
parent d1282b6195
commit 18f80b1ab5
4 changed files with 42 additions and 0 deletions
@@ -25,6 +25,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithJsStdLib"), Pattern.compile("^([^_](.+))\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("dynamicUnresolved.kt")
public void testDynamicUnresolved() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicUnresolved.kt");
}
@Test
@TestMetadata("funConstructorCallJS.kt")
public void testFunConstructorCallJS() throws Exception {