Migrate from containsAllIn to containsAtLeastElementsIn.#5042
Migrate from containsAllIn to containsAtLeastElementsIn.#5042kolea2 merged 1 commit intogoogleapis:masterfrom cpovirk:containsallin
Conversation
kolea2
left a comment
There was a problem hiding this comment.
Looks like the builds are failing due to dependency issues. Can you please take a look?
The two behave identically, and containsAllIn is being removed. The new method was added in Truth 0.44, so update to that. That requires a migration from the removed ThrowableSubject.hasMessage(...) to hasMessageThat().isEqualTo(...). And to preserve RequireUpperBoundDeps, also update checker-compat-qual to 2.5.5.
|
Thanks. I'm hoping that it's fixed now -- |
|
@cpovirk, kokoro kicks in either with a google-cloud-java team member's PR or an explicit label on the PR. I'll kick off the build. |
Codecov Report
@@ Coverage Diff @@
## master #5042 +/- ##
============================================
- Coverage 50.37% 49.74% -0.63%
+ Complexity 23722 22364 -1358
============================================
Files 2248 2248
Lines 226370 221747 -4623
Branches 24954 24073 -881
============================================
- Hits 114024 110301 -3723
+ Misses 103753 102996 -757
+ Partials 8593 8450 -143
Continue to review full report at Codecov.
|
|
Ah, thanks! Looks like Kokoro is happy now. Code coverage is allegedly down slightly, but that seems unlikely to mean anything real here. |
The two behave identically, and containsAllIn is being removed.
The new method was added in Truth 0.44, so update to that.