We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 375648c commit 2705bdbCopy full SHA for 2705bdb
matchers.go
@@ -381,7 +381,7 @@ func ContainElements(elements ...interface{}) types.GomegaMatcher {
381
}
382
383
// 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.
+// Please note that if actual is empty, HaveEach always will fail.
385
// By default HaveEach() uses Equal() to perform the match, however a
386
// matcher can be passed in instead:
387
//
0 commit comments