Commit 41fe6be7 authored by Abseil Team's avatar Abseil Team Committed by Copybara-Service
Browse files

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
parent e38ef3be
......@@ -1345,7 +1345,7 @@ class BarPlusBazEqMatcher {
...
Foo foo;
EXPECT_CALL(foo, BarPlusBazEq(5))...;
EXPECT_THAT(foo, BarPlusBazEq(5))...;
```
### Matching Containers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment