Facet serialization changed in order to keep compatibility with previous

versions of Kotlin plugin
This commit is contained in:
Andrey Uskov
2019-06-27 19:43:03 +03:00
parent 87e75bd4cc
commit 404ce1a8c1
4 changed files with 7 additions and 4 deletions
@@ -103,7 +103,7 @@ open class ConfigureKotlinInTempDirTest : AbstractConfigureKotlinInTempDirTest()
application.isSaveAllowed = true
application.saveAll()
val moduleFileContentAfter = String(module.moduleFile!!.contentsToByteArray())
Assert.assertEquals(moduleFileContentBefore.replace("platform=\"JVM 1.8\"", "allPlatforms=\"JVM [1.8]\""), moduleFileContentAfter)
Assert.assertEquals(moduleFileContentBefore.replace("platform=\"JVM 1.8\"", "platform=\"JVM 1.8\" allPlatforms=\"JVM [1.8]\""), moduleFileContentAfter)
}
fun testApiVersionWithoutLanguageVersion() {