Skip to content

Commit

Permalink
EVA-MINOR fix method name typo (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattenkrieg committed Dec 24, 2023
1 parent 585124b commit 84cc36d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.6.0"
private const val RELEASE_VERSION = "0.5.1"
private const val RELEASE_VERSION = "0.5.2"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
4 changes: 2 additions & 2 deletions eva-uow/src/main/kotlin/com/razz/eva/uow/verify/UowSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ class UowSpec<R> internal constructor(
return verified
}

fun <M : Model<*, *>> updatesAnReturns(verify: M.() -> Unit): M {
fun <M : Model<*, *>> updatesAndReturns(verify: M.() -> Unit): M {
verifyResultAs(verify)
return verifyUpdated(verify)
}

fun <M : Model<*, *>> EqualityVerifierAware.updatesAnReturns(id: ModelId<*>, verify: M.() -> Unit): M {
fun <M : Model<*, *>> EqualityVerifierAware.updatesAndReturns(id: ModelId<*>, verify: M.() -> Unit): M {
verifyResultAs(verify)
val verified = verifyUpdated(verify)
equalityVerifier.verify(verified.id(), id)
Expand Down

0 comments on commit 84cc36d

Please sign in to comment.