summaryrefslogtreecommitdiffstats
path: root/googlemock/docs/cheat_sheet.md
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-26 09:48:08 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-30 10:52:27 (GMT)
commitbf6df7eaee5cfaafe2655fab143f348eba98c9af (patch)
tree0aed71d680339f754feaff8dc96bc642666047e7 /googlemock/docs/cheat_sheet.md
parent2134e3fd857d952e03ce76064fad5ac6e9036104 (diff)
downloadgoogletest-bf6df7eaee5cfaafe2655fab143f348eba98c9af.zip
googletest-bf6df7eaee5cfaafe2655fab143f348eba98c9af.tar.gz
googletest-bf6df7eaee5cfaafe2655fab143f348eba98c9af.tar.bz2
Diffstat (limited to 'googlemock/docs/cheat_sheet.md')
-rw-r--r--googlemock/docs/cheat_sheet.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/cheat_sheet.md b/googlemock/docs/cheat_sheet.md
index e839fa9..d0b68ce 100644
--- a/googlemock/docs/cheat_sheet.md
+++ b/googlemock/docs/cheat_sheet.md
@@ -857,12 +857,12 @@ you can do it earlier:
using ::testing::Mock;
...
// Verifies and removes the expectations on mock_obj;
-// returns true iff successful.
+// returns true if successful.
Mock::VerifyAndClearExpectations(&mock_obj);
...
// Verifies and removes the expectations on mock_obj;
// also removes the default actions set by ON_CALL();
-// returns true iff successful.
+// returns true if successful.
Mock::VerifyAndClear(&mock_obj);
```