Skip to content

Commit

Permalink
various dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Oct 12, 2023
1 parent 8dd1828 commit dcdce38
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import kotlin.text.RegexOption.IGNORE_CASE
plugins {
kotlin("jvm") apply false
id("io.codearte.nexus-staging") version "0.30.0"
id("org.jmailen.kotlinter") version "3.16.0" apply false
id("com.adarshr.test-logger") version "3.2.0" apply false
id("com.github.ben-manes.versions") version "0.48.0"
id("org.jmailen.kotlinter") version "4.0.0" apply false
id("com.adarshr.test-logger") version "4.0.0" apply false
id("com.github.ben-manes.versions") version "0.49.0"
id("org.jetbrains.dokka")
id("org.jetbrains.kotlinx.kover") version "0.7.3"
id("org.jetbrains.kotlinx.kover") version "0.7.4"
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ versions.junit=5.10.0
versions.kotlin=1.9.10
versions.kotlinx-coroutines=1.7.3
versions.minutest=1.13.0
versions.mockk=1.13.7
versions.protobuf=3.24.3
versions.mockk=1.13.8
versions.protobuf=3.24.4
versions.opentest4j=1.3.0
versions.spring-boot=3.1.4
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 2 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 1 addition & 1 deletion strikt-core/src/main/kotlin/strikt/api/Status.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal sealed class Status {
/**
* The assertion was not evaluated or has not been evaluated yet.
*/
object Pending : Status()
data object Pending : Status()

/**
* The assertion passed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ internal sealed class AssertionStrategy {
cause: Throwable? = null,
): Status = Failed(description, comparison, cause)

object Collecting : AssertionStrategy()
data object Collecting : AssertionStrategy()

object Throwing : AssertionStrategy() {
data object Throwing : AssertionStrategy() {
override fun evaluate(tree: AssertionGroup<*>) {
if (tree.status is Failed) {
throw CompoundAssertionFailure(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal object Assertions {
fixture { expectThat(false) }

test("exceptions are suppressed") {
expectThrows<AssertionError>() {
expectThrows<AssertionError> {
isEqualTo(true)
}
.and {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CapturingSlotAssertions : JUnit5Minutests {

private class Fixture {
val slot = slot<String>()
val mockFunction: Consumer<String> = mockk() {
val mockFunction: Consumer<String> = mockk {
every { accept(capture(slot)) } just Runs
}
}
Expand Down

0 comments on commit dcdce38

Please sign in to comment.