diff options
author | cpovirk <cpovirk@google.com> | 2019-04-29 15:53:13 -0700 |
---|---|---|
committer | Ron Shapiro <shapiro.rd@gmail.com> | 2019-05-05 12:32:25 -0400 |
commit | 320cce8e71097355fc1baab19504149cfc0d3f7e (patch) | |
tree | 9e2bb8bf2d6133b85d10f35e5d50b6ef96c5dbf7 /common/src/test/java/com | |
parent | edeaf18e7ba423512d7f43d3f742e10a34f56001 (diff) | |
download | auto-320cce8e71097355fc1baab19504149cfc0d3f7e.tar.gz |
Migrate from containsAllOf to containsAtLeast.
The two behave identically, and containsAllOf is being removed.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=245840719
Diffstat (limited to 'common/src/test/java/com')
-rw-r--r-- | common/src/test/java/com/google/auto/common/MoreElementsTest.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/common/src/test/java/com/google/auto/common/MoreElementsTest.java b/common/src/test/java/com/google/auto/common/MoreElementsTest.java index 1cedaf64..a16eb5fd 100644 --- a/common/src/test/java/com/google/auto/common/MoreElementsTest.java +++ b/common/src/test/java/com/google/auto/common/MoreElementsTest.java @@ -339,12 +339,13 @@ public class MoreElementsTest { methods.add(method); } } - assertThat(methods).containsAllOf( - getMethod(Object.class, "clone"), - getMethod(Object.class, "finalize"), - getMethod(Object.class, "wait"), - getMethod(Object.class, "wait", longMirror), - getMethod(Object.class, "wait", longMirror, intMirror)); + assertThat(methods) + .containsAtLeast( + getMethod(Object.class, "clone"), + getMethod(Object.class, "finalize"), + getMethod(Object.class, "wait"), + getMethod(Object.class, "wait", longMirror), + getMethod(Object.class, "wait", longMirror, intMirror)); return methods; } |