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
pull/4091/head
Abseil Team 2 years ago committed by Copybara-Service
parent e38ef3be88
commit 41fe6be7d7
  1. 2
      docs/gmock_cook_book.md

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

Loading…
Cancel
Save