From 2705bdb916f06139a24a11af5eb91ab235e8234e Mon Sep 17 00:00:00 2001 From: Jacob Grieger Date: Tue, 17 Oct 2023 07:49:22 +0200 Subject: [PATCH] #703 doc(matchers): HaveEach() doc comment updated --- matchers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matchers.go b/matchers.go index 4c13ad0a7..88f100432 100644 --- a/matchers.go +++ b/matchers.go @@ -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: //