From d144031940543e15423a25ae5a8a74141044862f Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 4 Nov 2024 07:25:46 -0800 Subject: [PATCH] Fixing a typo in the documentation of IsSubsetOf(). PiperOrigin-RevId: 692957797 Change-Id: Ifd3efe64cd2a3a5623167fa13de61d6e3358662d --- googlemock/include/gmock/gmock-matchers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 16cf9c3d..2ae2499a 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -4958,7 +4958,7 @@ inline internal::UnorderedElementsAreArrayMatcher 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. //