mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Migrate from containsAllIn to containsAtLeastElementsIn
The two behave identically, and containsAllIn is being removed. More information: [] Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=246565417
This commit is contained in:
parent
7cb6d23884
commit
251ec1ed32
3 changed files with 5 additions and 3 deletions
|
@ -67,7 +67,9 @@ public class EntityClassesTest {
|
|||
.filter(hasAnnotation(EntitySubclass.class))
|
||||
.map(Key::getKind)
|
||||
.collect(toImmutableSet());
|
||||
assertWithMessage("base entity kinds").that(baseEntityKinds).containsAllIn(entitySubclassKinds);
|
||||
assertWithMessage("base entity kinds")
|
||||
.that(baseEntityKinds)
|
||||
.containsAtLeastElementsIn(entitySubclassKinds);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue