Skip to content

Commit

Permalink
#703 doc(matchers): HaveEach() doc comment updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jgriegershs authored and onsi committed Oct 17, 2023
1 parent 375648c commit 2705bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matchers.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func ContainElements(elements ...interface{}) types.GomegaMatcher {
}

// HaveEach succeeds if actual solely contains elements that match the passed in element.
// Please note that if actual is empty, HaveEach always will succeed.
// Please note that if actual is empty, HaveEach always will fail.
// By default HaveEach() uses Equal() to perform the match, however a
// matcher can be passed in instead:
//
Expand Down

0 comments on commit 2705bdb

Please sign in to comment.