Skip to content

Commit

Permalink
Shorten migration subchapter titles
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Oct 11, 2023
1 parent 5023a2e commit ebadab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/asciidoc/user-guide/assertj-core-migration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ There are several ways to perform the conversion :
The preferred approach is to use the provided migration scripts or OpenRewrite recipes as they are type safe and cover more assertions than the other ones.

[[assertj-migration-using-scripts]]
==== Assertions migration scripts
==== Migration scripts

It is as simple as running one of the following scripts depending on which test framework you are using:

Expand Down Expand Up @@ -104,7 +104,7 @@ Replacing JUnit static imports by AssertJ ones, at this point you will probably
----

[[assertj-migration-using-regexes]]
==== Assertions migration regexes
==== Migration regexes

Here's a list of find/replace expressions to change JUnit assertions into AssertJ assertions (don't forget to check the regex mode in your editor replace window).

Expand Down Expand Up @@ -172,7 +172,7 @@ assertFalse\((.*)\); -> assertThat(\1).isFalse();
----

[[assertj-migration-using-openrewrite]]
==== Assertions migration with OpenRewrite
==== OpenRewrite

link:https://docs.openrewrite.org/[OpenRewrite], a large-scale automated source code refactoring tool, offers a couple of recipes that assist with the migration to AssertJ:

Expand Down

0 comments on commit ebadab7

Please sign in to comment.