summaryrefslogtreecommitdiffstats
path: root/googlemock/docs
diff options
context:
space:
mode:
author杜修杏 <duxiuxing@foxmail.com>2018-07-19 22:15:13 (GMT)
committer杜修杏 <duxiuxing@foxmail.com>2018-07-19 22:15:13 (GMT)
commit2eb43960076417a3dca33ea5ad58e3e9feaee6e4 (patch)
tree9041d3546534643ba761f3ea75f230a781cf36ff /googlemock/docs
parent5b19054b024079b32f49d53b1f254e03d85a0a99 (diff)
downloadgoogletest-2eb43960076417a3dca33ea5ad58e3e9feaee6e4.zip
googletest-2eb43960076417a3dca33ea5ad58e3e9feaee6e4.tar.gz
googletest-2eb43960076417a3dca33ea5ad58e3e9feaee6e4.tar.bz2
Replace "…" with "..."(three dots) to fix warning C4819 in Visual Studio
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 bd9f026..8809b0e 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.