diff options
author | Dawid Kurek <dawikur@users.noreply.github.com> | 2017-02-06 12:31:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 12:31:11 (GMT) |
commit | 51d92b2ccb9708c52fee3f2dc81c26f51bf8f19f (patch) | |
tree | 84b894c0b923916fa30d65cc90dfa00be017277f /googlemock | |
parent | d62d6c6556d96dda924382547c54a4b3afedb22c (diff) | |
download | googletest-51d92b2ccb9708c52fee3f2dc81c26f51bf8f19f.zip googletest-51d92b2ccb9708c52fee3f2dc81c26f51bf8f19f.tar.gz googletest-51d92b2ccb9708c52fee3f2dc81c26f51bf8f19f.tar.bz2 |
Replace html entities with their equivalentsrefs/pull/998/head
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/docs/CookBook.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md index 0460d35..89a4150 100644 --- a/googlemock/docs/CookBook.md +++ b/googlemock/docs/CookBook.md @@ -2365,7 +2365,7 @@ Now there’s one topic we haven’t covered: how do you set expectations on `Sh // When one calls ShareBuzz() on the MockBuzzer like this, the call is // forwarded to DoShareBuzz(), which is mocked. Therefore this statement // will trigger the above EXPECT_CALL. - mock_buzzer_.ShareBuzz(MakeUnique<Buzz>(AccessLevel::kInternal), + mock_buzzer_.ShareBuzz(MakeUnique<Buzz>(AccessLevel::kInternal), ::base::Now()); ``` @@ -2404,7 +2404,7 @@ Now, the mock `DoShareBuzz()` method is free to save the buzz argument for later ``` std::unique_ptr<Buzz> intercepted_buzz; EXPECT_CALL(mock_buzzer_, DoShareBuzz(NotNull(), _)) - .WillOnce(Invoke([&intercepted_buzz](Buzz* buzz, Time timestamp) { + .WillOnce(Invoke([&intercepted_buzz](Buzz* buzz, Time timestamp) { // Save buzz in intercepted_buzz for analysis later. intercepted_buzz.reset(buzz); return false; |