From 4ab6f4d7094bd89a8143cee485532a0d0316e671 Mon Sep 17 00:00:00 2001 From: Gennadiy Civil Date: Tue, 16 Jul 2019 14:38:15 -0400 Subject: Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS --- googlemock/docs/for_dummies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'googlemock/docs/for_dummies.md') diff --git a/googlemock/docs/for_dummies.md b/googlemock/docs/for_dummies.md index 9b15493d..b75c9a09 100644 --- a/googlemock/docs/for_dummies.md +++ b/googlemock/docs/for_dummies.md @@ -261,7 +261,7 @@ line number to jump right to the failed expectation. **Tip 2:** If your mock objects are never deleted, the final verification won't happen. Therefore it's a good idea to turn on the heap checker in your tests when you allocate mocks on the heap. You get that automatically if you use the -`gunit_main` library already. +`gtest_main` library already. **Important note:** gMock requires expectations to be set **before** the mock functions are called, otherwise the behavior is **undefined**. In particular, -- cgit v1.2.3