summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2024-11-04 15:25:46 (GMT)
committerCopybara-Service <copybara-worker@google.com>2024-11-04 15:26:27 (GMT)
commitd144031940543e15423a25ae5a8a74141044862f (patch)
tree73286d78fdc474d7da2dcb44d9472d0fdd778ef6
parent1204d634444b0ba6da53201a8b6caf2a502d883c (diff)
downloadgoogletest-d144031940543e15423a25ae5a8a74141044862f.zip
googletest-d144031940543e15423a25ae5a8a74141044862f.tar.gz
googletest-d144031940543e15423a25ae5a8a74141044862f.tar.bz2
Fixing a typo in the documentation of IsSubsetOf().
PiperOrigin-RevId: 692957797 Change-Id: Ifd3efe64cd2a3a5623167fa13de61d6e3358662d
-rw-r--r--googlemock/include/gmock/gmock-matchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h
index 16cf9c3..2ae2499 100644
--- a/googlemock/include/gmock/gmock-matchers.h
+++ b/googlemock/include/gmock/gmock-matchers.h
@@ -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.
//