fix(deps): update dependency com.willowtreeapps.assertk:assertk-jvm to v0.26 #228
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.25
->0.26
Release Notes
willowtreeapps/assertk
v0.26
Changed
Throwable
or failedResult
, their exception is added as the cause to anyAssertionError
s which are thrown as the result of an assertion failure.Any.isInstanceOf
extension. In practice this would generally widento
Any
which is what it has been replaced with.Breaking Changes
Added
assertFailure { }
entrypoint which is a shorthand forassertThat(runCatching { .. }).isFailure()
first
andsingle
assertion forIterable
containsMatch
assertion forCharSequence
.Unlike 'contains' this is a regex rather than a literal.
Unlike 'matches' this looks for a subset of the
CharSequence
to match rather than the entire contents.hasClass
,doesNotHaveClass
,isInstanceOf
, andisNotInstanceOf
.For example:
isInstanceOf<String>()
.UByteArray
,UShortArray
,UIntArray
, andULongArray
.Deprecated
assertThat { }
entrypoint is now deprecated.Use
assertThat(T)
for normal values orassertFailure { }
for exception-throwing code.Fixed
Includes:
none
,atLeast
,atMost
,exactly
, andany
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.