From 7bd4a7f3e9ae46bb7d99fc5fd5dd1a137496bb6a Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Mon, 12 Aug 2019 07:09:50 +0200 Subject: restore mistakenly removed iffs in their explicit form Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter. --- googlemock/docs/cheat_sheet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'googlemock/docs/cheat_sheet.md') diff --git a/googlemock/docs/cheat_sheet.md b/googlemock/docs/cheat_sheet.md index 239a4c6d..20400566 100644 --- a/googlemock/docs/cheat_sheet.md +++ b/googlemock/docs/cheat_sheet.md @@ -731,12 +731,12 @@ you can do it earlier: using ::testing::Mock; ... // Verifies and removes the expectations on mock_obj; -// returns true if successful. +// returns true if and only 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 if successful. +// returns true if and only if successful. Mock::VerifyAndClear(&mock_obj); ``` -- cgit v1.2.3