diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-08-02 21:09:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 21:09:05 (GMT) |
commit | d655d0989db0fc66f4004bd9f6d78da4bdc045e9 (patch) | |
tree | 753bb4e089c829f021473fe54ccc31fe1ee83ed9 /googlemock | |
parent | e1f3d8d17549688fa5487f84ce3236a26d90b5af (diff) | |
parent | f700442db332033cd874fe453c1006b2a5fcd276 (diff) | |
download | googletest-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.md | 5 |
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 { |