Browse Source

Fix Gradle Plugin tests

release/1.2.1
Igor Demin 2 years ago
parent
commit
d2a3babec4
  1. 2
      gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/DesktopApplicationTest.kt
  2. 6
      gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/KotlinCompatabilityTest.kt

2
gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/DesktopApplicationTest.kt

@ -188,7 +188,7 @@ class DesktopApplicationTest : GradlePluginTestBase() {
val packageFile = packageDirFiles.single()
if (currentOS == OS.Linux) {
val expectedName = "test-package_1.0.0-1_amd64.$ext"
val expectedName = "testpackage_1.0.0-1_amd64.$ext"
check(packageFile.name.equals(expectedName, ignoreCase = true)) {
"Expected '$expectedName' package in $packageDir, got '${packageFile.name}'"
}

6
gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/KotlinCompatabilityTest.kt

@ -24,11 +24,7 @@ class KotlinCompatabilityTest : GradlePluginTestBase() {
fun testKotlinMpp_1_7_20() = testMpp("1.7.20")
@Test
fun testKotlinJsMpp_1_7_20() {
assertThrows<UnexpectedBuildFailure> {
testJsMpp("1.7.20")
}
}
fun testKotlinJsMpp_1_7_20() = testJsMpp("1.7.20")
private fun testMpp(kotlinVersion: String) = with(
testProject(

Loading…
Cancel
Save