You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/asciidoc/user-guide/assertj-core-migration.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ The link:https://docs.openrewrite.org/recipes/java/testing/hamcrest/migratehamcr
115
115
* Remove the Hamcrest `is(Matcher)` method
116
116
* Add Gradle or Maven dependencies as needed
117
117
118
-
If you want to go even further, you can run the link:https://docs.openrewrite.org/recipes/java/testing/assertj/assertj[AssertJ best practices] recipe which will do all of the above plus:
118
+
If you want to go even further, you can run the link:https://docs.openrewrite.org/recipes/java/testing/assertj[AssertJ best practices] recipe which will do all of the above plus:
119
119
120
120
* Migrate JUnit to AssertJ (e.g., changing `assertEquals()` to `assertThat().isEqualTo()`)
121
121
* Simplify AssertJ chained assertions (e.g., `assertThat(foo.size()).isEqualTo(1)` would change to `assertThat(foo).hasSize(1)`)
0 commit comments