summaryrefslogtreecommitdiff
path: root/docs/gmock_for_dummies.md
diff options
context:
space:
mode:
authordinord <dinor@google.com>2021-06-22 13:30:42 +0000
committerdinord <dinor@google.com>2021-06-22 13:30:42 +0000
commit355d57d90d9744c41ac7c99f1e960778f1c63040 (patch)
treedb76563c14cadb78ee450f9f38a674d75b887ce7 /docs/gmock_for_dummies.md
parentf7902802f1a61140e188223fb6d1c95925cbec4a (diff)
parent1745a405eb7c70e0e4488023a4f2c69fd6faed4f (diff)
downloadgoogletest-git-355d57d90d9744c41ac7c99f1e960778f1c63040.tar.gz
Merge pull request #3443 from hyukmyeong:typo
PiperOrigin-RevId: 380705469
Diffstat (limited to 'docs/gmock_for_dummies.md')
-rw-r--r--docs/gmock_for_dummies.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gmock_for_dummies.md b/docs/gmock_for_dummies.md
index 1f4cc246..0392b5de 100644
--- a/docs/gmock_for_dummies.md
+++ b/docs/gmock_for_dummies.md
@@ -480,8 +480,8 @@ the *default* action for the function every time (unless, of course, you have a
`WillRepeatedly()`.).
What can we do inside `WillOnce()` besides `Return()`? You can return a
-reference using `ReturnRef(*variable*)`, or invoke a pre-defined function, among
-[others](gmock_cook_book.md#using-actions).
+reference using `ReturnRef(`*`variable`*`)`, or invoke a pre-defined function,
+among [others](gmock_cook_book.md#using-actions).
**Important note:** The `EXPECT_CALL()` statement evaluates the action clause
only once, even though the action may be performed many times. Therefore you