Fix a typo in the gMock sample code for Defining a Custom Matcher Class.

EXPECT_CALL doesn't seem to make much sense here. I think the intent was to use EXPECT_THAT instead.

PiperOrigin-RevId: 495427663
Change-Id: I39a16ea37282729d34017c6bcd331a60cedf1fbe
This commit is contained in:
Abseil Team 2022-12-14 15:05:05 -08:00 committed by Copybara-Service
parent e38ef3be88
commit 41fe6be7d7

View File

@ -1345,7 +1345,7 @@ class BarPlusBazEqMatcher {
...
Foo foo;
EXPECT_CALL(foo, BarPlusBazEq(5))...;
EXPECT_THAT(foo, BarPlusBazEq(5))...;
```
### Matching Containers