From fb5d9b66c5b09d7eed1e11aeeabfac4cf987f42c Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 20 Apr 2020 15:05:40 -0400 Subject: Googletest export Fix comment that describes how to test against nullopt. PiperOrigin-RevId: 307448375 --- 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 fe88a7c7..b048fa90 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -4784,7 +4784,7 @@ inline InnerMatcher AllArgs(const InnerMatcher& matcher) { return matcher; } // and is printable using 'PrintToString'. It is compatible with // std::optional/std::experimental::optional. // Note that to compare an optional type variable against nullopt you should -// use Eq(nullopt) and not Optional(Eq(nullopt)). The latter implies that the +// use Eq(nullopt) and not Eq(Optional(nullopt)). The latter implies that the // optional value contains an optional itself. template inline internal::OptionalMatcher Optional( -- cgit v1.2.3