Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Maximiliano Tabacman <mtabacman@users.noreply.github.com>
  • Loading branch information
gcotelli and mtabacman authored Jun 19, 2020
1 parent f9953ed commit d8b0b7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ By default `equalityChecker` is an instance of `PropertyBasedEqualityChecker` an

The property based equality checker has always an implicit rule checking first if the target object is of the same type of the receiver. You check all the configured rules by sending `checkAgainst:` to the checker with the target object.

It's also available `SequenceableCollectionEqualityChecker` that can be used to compare two sequenceable collections by sending to it the message `check:against:` with both collections. It will check that both collections are sequenceable and contains the same elements in the same order.
Buoy also offers a `SequenceableCollectionEqualityChecker` that can be used to compare two sequenceable collections by sending to it the message `check:against:` with both collections. It will check that both collections are sequenceable and contains the same elements in the same order.

### Examples

This examples assume that equalityChecker is not reimplemented.
This examples assumes that equalityChecker is not reimplemented.

```smalltalk
"Just type checking"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"
An EqualityCheckerTest is a test class for testing the behavior of EqualityChecker
An #PropertyBasedEqualityCheckerTest is a test class for testing the behavior of #PropertyBasedEqualityChecker
"
Class {
#name : #PropertyBasedEqualityCheckerTest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Class {
#category : #'Buoy-Comparison'
}

{ #category : #'as yet unclassified' }
{ #category : #'instance creation' }
PropertyBasedEqualityChecker class >> on: aBaseObject [

^ self new initializeOn: aBaseObject
Expand Down

0 comments on commit d8b0b7c

Please sign in to comment.