File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ package dev.adamko.gradle.dev_publish
22
33import dev.adamko.gradle.dev_publish.test_utils.*
44import io.kotest.core.spec.style.FunSpec
5+ import io.kotest.matchers.collections.shouldBeOneOf
56import io.kotest.matchers.shouldBe
67import io.kotest.matchers.string.shouldContain
7- import org.gradle.testkit.runner.TaskOutcome
8+ import org.gradle.testkit.runner.TaskOutcome.SUCCESS
9+ import org.gradle.testkit.runner.TaskOutcome.UP_TO_DATE
810
911class MultipleGradlePluginsTest : FunSpec ({
1012
@@ -15,7 +17,7 @@ class MultipleGradlePluginsTest : FunSpec({
1517 .withArguments("clean")
1618 .build {
1719 output.shouldContain("SUCCESSFUL ")
18- task(":clean")?.outcome shouldBe TaskOutcome . SUCCESS
20+ task(":clean")?.outcome.shouldBeOneOf( SUCCESS , UP_TO_DATE )
1921 }
2022
2123 project.runner.withArguments(
You can’t perform that action at this time.
0 commit comments