diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md index 52091109..ff7f69aa 100644 --- a/googlemock/docs/CookBook.md +++ b/googlemock/docs/CookBook.md @@ -70,7 +70,7 @@ class Foo { class MockFoo : public Foo { ... MOCK_METHOD1(Add, int(Element x)); - MOCK_METHOD2(Add, int(int times, Element x); + MOCK_METHOD2(Add, int(int times, Element x)); MOCK_METHOD0(GetBar, Bar&()); MOCK_CONST_METHOD0(GetBar, const Bar&());