Skip to content

Commit

Permalink
Fix typos (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord authored Nov 21, 2023
1 parent 26093a1 commit 83683d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/user-guide/assertj-db-features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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()...
----
Expand Down

0 comments on commit 83683d4

Please sign in to comment.