Skip to content

Commit

Permalink
Update truth to v1.1.5 (#586)
Browse files Browse the repository at this point in the history
* Update truth to v1.1.5

* update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Ittner <[email protected]>
  • Loading branch information
renovate[bot] and gabrielittner authored Jun 22, 2023
1 parent 6d7a9e8 commit 0e0df29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kotlin = "1.8.22"
moshi = "1.15.0"
retrofit = "2.9.0"
junit = "5.9.3"
truth = "1.1.3"
truth = "1.1.5"

[libraries]
okhttp = "com.squareup.okhttp3:okhttp:4.11.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ProjectResultSubject private constructor(

companion object {
private val BUILD_RESULT_SUBJECT_FACTORY: Factory<ProjectResultSubject, ProjectResult> =
Factory { metadata, actual -> ProjectResultSubject(metadata, actual) }
Factory { metadata, actual -> ProjectResultSubject(metadata, actual!!) }

fun projectResult() = BUILD_RESULT_SUBJECT_FACTORY

Expand Down Expand Up @@ -106,7 +106,7 @@ open class ArtifactSubject internal constructor(

companion object {
private val BUILD_RESULT_SUBJECT_FACTORY: Factory<ArtifactSubject, Pair<Path, ProjectResult>> =
Factory { metadata, actual -> ArtifactSubject(metadata, actual.first, actual.second) }
Factory { metadata, actual -> ArtifactSubject(metadata, actual!!.first, actual.second) }

fun artifact() = BUILD_RESULT_SUBJECT_FACTORY
}
Expand Down Expand Up @@ -208,7 +208,7 @@ class SourcesJarSubject private constructor(

companion object {
private val BUILD_RESULT_SUBJECT_FACTORY: Factory<SourcesJarSubject, Pair<Path, ProjectResult>> =
Factory { metadata, actual -> SourcesJarSubject(metadata, actual.first, actual.second) }
Factory { metadata, actual -> SourcesJarSubject(metadata, actual!!.first, actual.second) }

fun sourcesJarSubject() = BUILD_RESULT_SUBJECT_FACTORY
}
Expand Down Expand Up @@ -243,7 +243,7 @@ class PomSubject private constructor(

companion object {
private val BUILD_RESULT_SUBJECT_FACTORY: Factory<PomSubject, Pair<Path, ProjectResult>> =
Factory { metadata, actual -> PomSubject(metadata, actual.first, actual.second) }
Factory { metadata, actual -> PomSubject(metadata, actual!!.first, actual.second) }

fun pomSubject() = BUILD_RESULT_SUBJECT_FACTORY
}
Expand Down

0 comments on commit 0e0df29

Please sign in to comment.