mirror of
https://github.com/google/googletest.git
synced 2026-06-26 20:38:56 +08:00
Change a mention of Eq(Optional(nullopt)) to Optional(Eq(nullopt)).
Optional is supposed to wrap matchers, not values. For example, Optional("bla") doesn't compile but Optional(std::string("bla")) does. Optional(Eq("bla")) is the functionally correct version. Eq() cannot wrap a matcher.
PiperOrigin-RevId: 872885639
Change-Id: I941f515308fa419162998073f6da9731fcf2168a
|
||
|---|---|---|
| .. | ||
| internal | ||
| gmock-actions.h | ||
| gmock-cardinalities.h | ||
| gmock-function-mocker.h | ||
| gmock-matchers.h | ||
| gmock-more-actions.h | ||
| gmock-more-matchers.h | ||
| gmock-nice-strict.h | ||
| gmock-spec-builders.h | ||
| gmock.h | ||