Skip to content

Commit a672c86

Browse files
authored
docs: fix HaveExactElement typo (#712)
1 parent f804ac6 commit a672c86

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
@@ -394,7 +394,7 @@ func ConsistOf(elements ...interface{}) types.GomegaMatcher {
394394
}
395395
}
396396

397-
// HaveExactElemets succeeds if actual contains elements that precisely match the elemets passed into the matcher. The ordering of the elements does matter.
397+
// HaveExactElements succeeds if actual contains elements that precisely match the elemets passed into the matcher. The ordering of the elements does matter.
398398
// By default HaveExactElements() uses Equal() to match the elements, however custom matchers can be passed in instead. Here are some examples:
399399
//
400400
// Expect([]string{"Foo", "FooBar"}).Should(HaveExactElements("Foo", "FooBar"))

0 commit comments

Comments
 (0)