aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/CookBook.md
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-08-15 08:37:15 -0700
committerGitHub <noreply@github.com>2018-08-15 08:37:15 -0700
commit7e7e3a6f45db62d470c9d15b062582e9e95d3bcd (patch)
tree29039379de3d6fb3ef4c049d9b69faba9b4e5ccf /googlemock/docs/CookBook.md
parentb50b2f775ed0268af9c83a96b285e296778d0743 (diff)
parent997d343dd680e541ef96ce71ee54a91daf2577a0 (diff)
downloadgoogletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.tar.gz
googletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.tar.bz2
googletest-7e7e3a6f45db62d470c9d15b062582e9e95d3bcd.zip
Merge branch 'master' into patch-1
Diffstat (limited to 'googlemock/docs/CookBook.md')
-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 bd9f026b..8809b0e7 100644
--- a/googlemock/docs/CookBook.md
+++ b/googlemock/docs/CookBook.md
@@ -2247,7 +2247,7 @@ enum class AccessLevel { kInternal, kPublic };
class Buzz {
public:
- explicit Buzz(AccessLevel access) { … }
+ explicit Buzz(AccessLevel access) { ... }
...
};
@@ -2320,7 +2320,7 @@ Note that `ByMove()` is essential here - if you drop it, the code won’t compil
Quiz time! What do you think will happen if a `Return(ByMove(...))` action is
performed more than once (e.g. you write
-`….WillRepeatedly(Return(ByMove(...)));`)? Come think of it, after the first
+`.WillRepeatedly(Return(ByMove(...)));`)? Come think of it, after the first
time the action runs, the source value will be consumed (since it’s a move-only
value), so the next time around, there’s no value to move from -- you’ll get a
run-time error that `Return(ByMove(...))` can only be run once.