Skip to content

Commit d144031

Browse files
Abseil Teamcopybara-github
authored andcommitted
Fixing a typo in the documentation of IsSubsetOf().
PiperOrigin-RevId: 692957797 Change-Id: Ifd3efe64cd2a3a5623167fa13de61d6e3358662d
1 parent 1204d63 commit d144031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googlemock/include/gmock/gmock-matchers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4958,7 +4958,7 @@ inline internal::UnorderedElementsAreArrayMatcher<T> IsSupersetOf(
49584958
// - {1} matches IsSubsetOf({Gt(0), Lt(0)}), as 1 matches Gt(0).
49594959
// - {1, -1} matches IsSubsetOf({Lt(0), Gt(0)}), as 1 matches Gt(0) and -1
49604960
// matches Lt(0).
4961-
// - {1, 2} doesn't matches IsSubsetOf({Gt(0), Lt(0)}), even though 1 and 2 both
4961+
// - {1, 2} doesn't match IsSubsetOf({Gt(0), Lt(0)}), even though 1 and 2 both
49624962
// match Gt(0). The reason is that different matchers must be used for
49634963
// elements in different slots of the container.
49644964
//

0 commit comments

Comments
 (0)