Skip to content

Commit

Permalink
Merge branch '8.5' into 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 10, 2020
2 parents 6fb6600 + f54da70 commit ec4433c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assertions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ assertEqualsCanonicalizing()

Reports an error identified by ``$message`` if the two variables ``$expected`` and ``$actual`` are not equal.

The contents of ``$expected`` and ``$actual`` are canonicalized before they are compared. For instance, when the two variables ``$expected`` and ``$actual`` are arrays, then these arrays are sorted before they are compared. When `$expected`` and ``$actual`` are objects, each object is converted to an array containing all private, protected and public attributes.
The contents of ``$expected`` and ``$actual`` are canonicalized before they are compared. For instance, when the two variables ``$expected`` and ``$actual`` are arrays, then these arrays are sorted before they are compared. When ``$expected`` and ``$actual`` are objects, each object is converted to an array containing all private, protected and public attributes.

``assertNotEqualsCanonicalizing()`` is the inverse of this assertion and takes the same arguments.

Expand Down

0 comments on commit ec4433c

Please sign in to comment.