Skip to content

Commit d409434

Browse files
removed containsInRelativeOrder from yaml list (#376)
* removed containsInRelativeOrder from yaml list * Drop containsInRelativeOrder from tests --------- Co-authored-by: Tim te Beek <[email protected]>
1 parent 18a943d commit d409434

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/main/resources/META-INF/rewrite/hamcrest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@ recipeList:
144144
- org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ:
145145
matcher: containsInAnyOrder
146146
assertion: containsExactlyInAnyOrder
147-
- org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ:
148-
matcher: containsInRelativeOrder
149-
assertion: containsExactly
150147
- org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ:
151148
matcher: empty
152149
assertion: isEmpty

src/test/java/org/openrewrite/java/testing/hamcrest/MigrateHamcrestToAssertJTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ private static Stream<Arguments> listReplacements() {
231231
return Stream.of(
232232
Arguments.arguments("list1", "contains", "item", "containsExactly"),
233233
Arguments.arguments("list1", "containsInAnyOrder", "item", "containsExactlyInAnyOrder"),
234-
Arguments.arguments("list1", "containsInRelativeOrder", "item", "containsExactly"),
235234
Arguments.arguments("list1", "empty", "", "isEmpty"),
236235
Arguments.arguments("list1", "hasSize", "5", "hasSize"),
237236
Arguments.arguments("list1", "hasItem", "item", "contains"),

0 commit comments

Comments
 (0)