summaryrefslogtreecommitdiffstats
path: root/docs/gmock_for_dummies.md
diff options
context:
space:
mode:
authordinord <dinor@google.com>2021-06-22 13:30:42 (GMT)
committerdinord <dinor@google.com>2021-06-22 13:30:42 (GMT)
commit355d57d90d9744c41ac7c99f1e960778f1c63040 (patch)
treedb76563c14cadb78ee450f9f38a674d75b887ce7 /docs/gmock_for_dummies.md
parentf7902802f1a61140e188223fb6d1c95925cbec4a (diff)
parent1745a405eb7c70e0e4488023a4f2c69fd6faed4f (diff)
downloadgoogletest-355d57d90d9744c41ac7c99f1e960778f1c63040.zip
googletest-355d57d90d9744c41ac7c99f1e960778f1c63040.tar.gz
googletest-355d57d90d9744c41ac7c99f1e960778f1c63040.tar.bz2
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 1f4cc24..0392b5d 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