Browse Source

Use correct package name in Linux test

pull/397/head
Alexey Tsvetkov 4 years ago committed by Alexey Tsvetkov
parent
commit
6c7dc220b2
  1. 2
      gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/DesktopApplicationTest.kt
  2. 2
      gradle-plugins/compose/src/test/test-projects/application/jvm/build.gradle
  3. 2
      gradle-plugins/compose/src/test/test-projects/application/mpp/build.gradle

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

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

2
gradle-plugins/compose/src/test/test-projects/application/jvm/build.gradle

@ -33,7 +33,7 @@ compose.desktop {
linux {
shortcut = true
packageName = "compose"
packageName = "test-package"
debMaintainer = "example@example.com"
menuGroup = "menu-group"
}

2
gradle-plugins/compose/src/test/test-projects/application/mpp/build.gradle

@ -43,7 +43,7 @@ compose.desktop {
linux {
shortcut = true
packageName = "compose"
packageName = "test-package"
debMaintainer = "example@example.com"
menuGroup = "menu-group"
}

Loading…
Cancel
Save