chore(deps): Update dependency com.willowtreeapps.assertk:assertk-jvm to v0.24 - autoclosed #187
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20
->0.24
Release Notes
willowtreeapps/assertk
v0.24
Fixed
any
breaking when the list had several items.Added
containsSubList
forList
.exists
forPath
.v0.23.1
Fixed
containsExactly
failing on custom list types.isDataClassEqualTo
when a property is null.any
containsOnly
to ensure keys match up with values.v0.23
Fixed
containsExactly
failing on custom list types.isDataClassEqualTo
when a property is null.any
containsOnly
to ensure keys match up with values.v0.22
Added
Assert<String>.contains()
anddoesNotContain()
isEqualByComparingTo
to compare objects bycompareTo
instead ofequals
this is useful for cases likeBigDecimal
whereequals
would fail because of differing precision.containsOnly
for arrays.Changed
containsAll
,containsNone
, andcontainsOnly
fromCollection
toIterable
to makethem a bit more flexible.
containsAll
,containsNone
, andcontainsOnly
error messages now include the expected and actual lists.prop(callable: KCallable<*>)
to make them more clear.MultipleFailuresError
withThrowable.addSurpressed
on the jvm (used whencollecting multiple exceptions with
assertAll
). Unfortunately, if you are using gradle you won't see this due to aknown gradle issue.
AssertionError
s when usinggiven
andtransform
. Warning: this is techinicaly abreaking change as code like:
Fixed
assertAll
captureOutOfMemory
errors.Breaking Changes
v0.21
Added
any
to iterable assertions. It will pass when any of the provided assertions pass.Changed
isEqualToWithGivenProperties
andisEqualToIgnoringGivenProperties
tobe able to take nullable properties.
containsExactly
to show the entire list.Fixed
all
in combination withatLeast
doesn't compose nicely willowtreeapps/assertk#253)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.