From 83683d4e289c81d36a6d2ae35a725cf1ca14c774 Mon Sep 17 00:00:00 2001 From: Gabriel <78592838+Gabriel-Darbord@users.noreply.github.com> Date: Wed, 22 Nov 2023 00:38:23 +0100 Subject: [PATCH] Fix typos (#154) --- .../asciidoc/user-guide/assertj-core-assertions-guide.adoc | 6 +++--- src/docs/asciidoc/user-guide/assertj-db-features.adoc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc b/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc index aaa3e102..7f7c87b3 100644 --- a/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc +++ b/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc @@ -1157,7 +1157,7 @@ As an example, let's check the name, age and race's name of each TolkienCharacte // when checking several properties/fields you have to use tuples: import static org.assertj.core.api.Assertions.tuple; -// extracting name, age and and race.name nested property +// extracting name, age and race.name nested property assertThat(fellowshipOfTheRing).extracting("name", "age", "race.name") .contains(tuple("Boromir", 37, "Man"), tuple("Sam", 38, "Hobbit"), @@ -1298,7 +1298,7 @@ assertThat(throwableWithMessage).hasMessage("wrong amount 123") [[assertj-core-throwable-cause-and-root-cause-assertions]] ===== Checking the cause and root cause -There are two approaches to check the the cause and root cause, either directly or navigate to it with `getCause()` and `getRootCause()` and check it. +There are two approaches to check the cause and root cause, either directly or navigate to it with `getCause()` and `getRootCause()` and check it. ====== Checking the cause @@ -1768,7 +1768,7 @@ There are a few ways to specify the fields to ignore: Nested fields can be specified like this: `home.address.street` -It is also possible to ignore the the object under test with `ignoringActualNullFields()`. +It is also possible to ignore the object under test with `ignoringActualNullFields()`. Examples diff --git a/src/docs/asciidoc/user-guide/assertj-db-features.adoc b/src/docs/asciidoc/user-guide/assertj-db-features.adoc index 23d91d30..1542b60e 100644 --- a/src/docs/asciidoc/user-guide/assertj-db-features.adoc +++ b/src/docs/asciidoc/user-guide/assertj-db-features.adoc @@ -537,7 +537,7 @@ methods which allows to navigate to the next change of creation, modification an ---- // If it is the first call, navigate to the first change of creation assertThat(changes).changeOfCreation()... -// Navigate to the the first change of creation +// Navigate to the first change of creation // and after the second change of creation assertThat(changes).changeOfCreation().changeOfCreation()... ----