aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-07-20 15:53:16 -0400
committerGitHub <noreply@github.com>2018-07-20 15:53:16 -0400
commitfd4f7cc7299e8fde91d45ba6685fbd99698814e0 (patch)
tree37786e74b9947f7bf3b677629aaf8cde10c1d85e /googlemock/docs
parent1f9c668a0452148f725b242079f70d65d3e93153 (diff)
parent2a151c93c180ac765c27c5f2e37af9366abd4d55 (diff)
downloadgoogletest-fd4f7cc7299e8fde91d45ba6685fbd99698814e0.tar.gz
googletest-fd4f7cc7299e8fde91d45ba6685fbd99698814e0.tar.bz2
googletest-fd4f7cc7299e8fde91d45ba6685fbd99698814e0.zip
Merge branch 'master' into deprecate
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 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.