summaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-02 20:47:31 (GMT)
committerGitHub <noreply@github.com>2017-08-02 20:47:31 (GMT)
commit032baa0da3195125235af8ad2e518b87fa885bb9 (patch)
treef7910d6885502e41da1e0aa8ca17b307b5366aaa /googlemock/docs
parentd966d5fbe005d8de37362e578851bd520909064b (diff)
parent51d92b2ccb9708c52fee3f2dc81c26f51bf8f19f (diff)
downloadgoogletest-032baa0da3195125235af8ad2e518b87fa885bb9.zip
googletest-032baa0da3195125235af8ad2e518b87fa885bb9.tar.gz
googletest-032baa0da3195125235af8ad2e518b87fa885bb9.tar.bz2
Merge pull request #998 from dawikur/patch-1
Replace html entities with their equivalents
Diffstat (limited to 'googlemock/docs')
-rw-r--r--googlemock/docs/CookBook.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/CookBook.md b/googlemock/docs/CookBook.md
index 34387c0..81aeafe 100644
--- a/googlemock/docs/CookBook.md
+++ b/googlemock/docs/CookBook.md
@@ -2366,7 +2366,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&lt;Buzz&gt;(AccessLevel::kInternal),
+ mock_buzzer_.ShareBuzz(MakeUnique<Buzz>(AccessLevel::kInternal),
::base::Now());
```
@@ -2405,7 +2405,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([&amp;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;