Skip to content

Commit

Permalink
Fix Gradle Plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
igordmn committed Nov 2, 2022
1 parent d4b158d commit d2a3bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}'"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d2a3bab

Please sign in to comment.