Skip to content

Commit 2705bdb

Browse files
jgriegershsonsi
authored andcommittedOct 17, 2023
#703 doc(matchers): HaveEach() doc comment updated
1 parent 375648c commit 2705bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎matchers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func ContainElements(elements ...interface{}) types.GomegaMatcher {
381381
}
382382

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

0 commit comments

Comments
 (0)
Please sign in to comment.