[AA] add test for $$result declaration

^KT-61431
This commit is contained in:
Dmitrii Gridin
2023-08-24 14:34:47 +02:00
committed by Space Team
parent adc853ebd0
commit 99510ca42b
4 changed files with 138 additions and 0 deletions
@@ -45,4 +45,10 @@ public class FirIdeNormalAnalysisScriptSourceModuleDeclaredMemberScopeTestGenera
public void testAllFilesPresentInDeclaredMemberScope() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope"), Pattern.compile("^(.+)\\.kts$"), null, true);
}
@Test
@TestMetadata("simpleScriptWithResultDeclaration.kts")
public void testSimpleScriptWithResultDeclaration() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/simpleScriptWithResultDeclaration.kts");
}
}