summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-02 21:09:05 (GMT)
committerGitHub <noreply@github.com>2017-08-02 21:09:05 (GMT)
commitd655d0989db0fc66f4004bd9f6d78da4bdc045e9 (patch)
tree753bb4e089c829f021473fe54ccc31fe1ee83ed9 /googlemock
parente1f3d8d17549688fa5487f84ce3236a26d90b5af (diff)
parentf700442db332033cd874fe453c1006b2a5fcd276 (diff)
downloadgoogletest-d655d0989db0fc66f4004bd9f6d78da4bdc045e9.zip
googletest-d655d0989db0fc66f4004bd9f6d78da4bdc045e9.tar.gz
googletest-d655d0989db0fc66f4004bd9f6d78da4bdc045e9.tar.bz2
Merge pull request #867 from marzojr/patch-1
Clarifying documentation language
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/docs/CookBook.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md
index 81aeafe..3d2ae4a 100644
--- a/googlemock/docs/CookBook.md
+++ b/googlemock/docs/CookBook.md
@@ -18,8 +18,9 @@ You must always put a mock method definition (`MOCK_METHOD*`) in a
`public:` section of the mock class, regardless of the method being
mocked being `public`, `protected`, or `private` in the base class.
This allows `ON_CALL` and `EXPECT_CALL` to reference the mock function
-from outside of the mock class. (Yes, C++ allows a subclass to change
-the access level of a virtual function in the base class.) Example:
+from outside of the mock class. (Yes, C++ allows a subclass to specify
+a different access level than the base class on a virtual function.)
+Example:
```
class Foo {