FIx tests after renaming platform to header.

This commit is contained in:
Stanislav Erokhin
2016-12-13 23:08:47 +03:00
parent bd74ef4536
commit 653d589f98
13 changed files with 57 additions and 59 deletions
@@ -63,7 +63,7 @@ class KtFileLightClassTest : KotlinLightCodeInsightFixtureTestCase() {
}
fun testNoFacadeForHeaderClass() {
val file = myFixture.configureByText("foo.kt", "platform fun foo(): Int") as KtFile
val file = myFixture.configureByText("foo.kt", "header fun foo(): Int") as KtFile
assertEquals(0, file.classes.size)
val facadeFiles = LightClassGenerationSupport.getInstance(project).findFilesForFacade(FqName("foo.FooKt"), GlobalSearchScope.allScope(project))
assertEquals(0, facadeFiles.size)