Skip to content

Commit 044d493

Browse files
authored
Update assertj-core-migration.adoc to fix link to AssertJ best practices recipe (#168)
1 parent a3b37bc commit 044d493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/user-guide/assertj-core-migration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The link:https://docs.openrewrite.org/recipes/java/testing/hamcrest/migratehamcr
115115
* Remove the Hamcrest `is(Matcher)` method
116116
* Add Gradle or Maven dependencies as needed
117117

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:
119119

120120
* Migrate JUnit to AssertJ (e.g., changing `assertEquals()` to `assertThat().isEqualTo()`)
121121
* Simplify AssertJ chained assertions (e.g., `assertThat(foo.size()).isEqualTo(1)` would change to `assertThat(foo).hasSize(1)`)

0 commit comments

Comments
 (0)