summaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorWenyuan Yan <llyanwenyuan@gmail.com>2019-06-06 03:47:40 (GMT)
committerGitHub <noreply@github.com>2019-06-06 03:47:40 (GMT)
commit3ff7cd0f1b0b64e55695e1bbf6929b129d887a46 (patch)
tree84c7efc760c934d919f8a61915844db36a772014 /googlemock/docs
parent31200def0dec8a624c861f919e86e4444e6e6ee7 (diff)
downloadgoogletest-3ff7cd0f1b0b64e55695e1bbf6929b129d887a46.zip
googletest-3ff7cd0f1b0b64e55695e1bbf6929b129d887a46.tar.gz
googletest-3ff7cd0f1b0b64e55695e1bbf6929b129d887a46.tar.bz2
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/CookBook.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md
index 5209110..ff7f69a 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&());