Skip to content

Commit

Permalink
Added to notMatchers (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-scholten authored May 16, 2024
1 parent 41a01da commit baee2bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/META-INF/rewrite/hamcrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@ recipeList:
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
notMatcher: hasItem
assertion: doesNotContain
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
notMatcher: hasItems
assertion: doesNotContain
- org.openrewrite.java.testing.hamcrest.HamcrestNotMatcherToAssertJ:
notMatcher: empty
assertion: isNotEmpty

# Add dependency if not already present
- org.openrewrite.java.dependencies.AddDependency:
Expand Down

0 comments on commit baee2bf

Please sign in to comment.