Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private fun inferCheckoutActionVersionFromClasspath(checkoutActionClassFQN: Stri
error(
"actions/checkout is not found in the classpath! " +
"Either add a dependency on it (`@file:DependsOn(\"actions:checkout:<version>\")`), " +
"or don't use CheckoutActionVersionSource.InferFromClasspath()",
"or use another CheckoutActionVersionSource.",
)
} as Class<*>
// It's easier to call the primary constructor, even though it's private, because
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.FunSpec
import io.kotest.engine.spec.tempdir
import io.kotest.matchers.shouldBe
import io.kotest.matchers.string.shouldStartWith

@OptIn(ExperimentalKotlinLogicStep::class)
@Suppress("LargeClass")
Expand Down Expand Up @@ -460,9 +461,7 @@ class IntegrationTest :
}
}
}.also {
it.message shouldBe "actions/checkout is not found in the classpath! " +
"Either add a dependency on it (`@file:DependsOn(\"actions:checkout:<version>\")`), " +
"or don't use CheckoutActionVersionSource.InferFromClasspath()"
it.message shouldStartWith "actions/checkout is not found in the classpath!"
}
}

Expand Down
Loading