Skip to content

Commit

Permalink
Fix typos, cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Feb 17, 2024
1 parent 4cff834 commit 0c2bacc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,9 @@ Here's a simple example:
assertThat(sherlock).isEqualTo(sherlock2);
----

The comparison is *not symmetrical* since it is *limited to actual's fields*, the algorithm gather actual's fields and then compare them to the corresponding expected's fields. It is then possible for the expected object to have more fields than actual which can be handy when comparing a base type to a subtype with additional fields.
The comparison is *not symmetrical* since it is *limited to `actual` fields*.

The algorithm gathers `actual` fields and then compares them to the corresponding `expected` fields. It is then possible for the `expected` object to have more fields than `actual`, which can be handy when comparing a base type to a subtype with additional fields.

===== How field values are resolved

Expand Down

0 comments on commit 0c2bacc

Please sign in to comment.