Skip to content

Commit

Permalink
Fixing a typo in the documentation of IsSubsetOf().
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 692957797
Change-Id: Ifd3efe64cd2a3a5623167fa13de61d6e3358662d
  • Loading branch information
Abseil Team authored and copybara-github committed Nov 4, 2024
1 parent 1204d63 commit d144031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googlemock/include/gmock/gmock-matchers.h
Original file line number Diff line number Diff line change
Expand Up @@ -4958,7 +4958,7 @@ inline internal::UnorderedElementsAreArrayMatcher<T> IsSupersetOf(
// - {1} matches IsSubsetOf({Gt(0), Lt(0)}), as 1 matches Gt(0).
// - {1, -1} matches IsSubsetOf({Lt(0), Gt(0)}), as 1 matches Gt(0) and -1
// matches Lt(0).
// - {1, 2} doesn't matches IsSubsetOf({Gt(0), Lt(0)}), even though 1 and 2 both
// - {1, 2} doesn't match IsSubsetOf({Gt(0), Lt(0)}), even though 1 and 2 both
// match Gt(0). The reason is that different matchers must be used for
// elements in different slots of the container.
//
Expand Down

0 comments on commit d144031

Please sign in to comment.