Skip to content

Commit baee2bf

Browse files
Added to notMatchers (#514)
1 parent 41a01da commit baee2bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ recipeList:
275275
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
276276
notMatcher: hasItem
277277
assertion: doesNotContain
278+
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
279+
notMatcher: hasItems
280+
assertion: doesNotContain
281+
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
282+
notMatcher: empty
283+
assertion: isNotEmpty
278284

279285
# Add dependency if not already present
280286
- org.openrewrite.java.dependencies.AddDependency:

0 commit comments

Comments
 (0)