[FIR] Add a test to make sure that arrayOf function is always presented
Because it's located in builtins but not in stdlib. It should work even if no runtime is specified. ^KTIJ-26465
This commit is contained in:
committed by
Space Team
parent
8a482c50c2
commit
4d7e54b2bb
@@ -0,0 +1,4 @@
|
||||
// IGNORE_FIR
|
||||
// ISSUE: KTIJ-26465 (Unignore the test after the issue fixed)
|
||||
|
||||
<caret>annotation class Ann(vararg val a: String = ["/"])
|
||||
+6
@@ -723,6 +723,12 @@ public class FirOutOfContentRootLazyDeclarationResolveTestGenerated extends Abst
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/lazyResolve/noRuntime"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfCall.kt")
|
||||
public void testArrayOfCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/lazyResolve/noRuntime/arrayOfCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteralCall.kt")
|
||||
public void testIntegerLiteralCall() throws Exception {
|
||||
|
||||
+6
@@ -723,6 +723,12 @@ public class FirSourceLazyDeclarationResolveTestGenerated extends AbstractFirSou
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/lazyResolve/noRuntime"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfCall.kt")
|
||||
public void testArrayOfCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/lazyResolve/noRuntime/arrayOfCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteralCall.kt")
|
||||
public void testIntegerLiteralCall() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user