diff options
author | Gennadiy Civil <misterg@google.com> | 2019-07-16 14:38:15 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-07-16 14:38:15 -0400 |
commit | 4ab6f4d7094bd89a8143cee485532a0d0316e671 (patch) | |
tree | 9ba3ed4e859416a5d6f6f82e35b14d0f8a95c034 /googlemock/docs/for_dummies.md | |
parent | 3d9cdd5803cecfbc68697b1f9f53eb99f085e4d4 (diff) | |
download | googletest-4ab6f4d7094bd89a8143cee485532a0d0316e671.tar.gz googletest-4ab6f4d7094bd89a8143cee485532a0d0316e671.tar.bz2 googletest-4ab6f4d7094bd89a8143cee485532a0d0316e671.zip |
Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS
Diffstat (limited to 'googlemock/docs/for_dummies.md')
-rw-r--r-- | googlemock/docs/for_dummies.md | 2 |
1 files changed, 1 insertions, 1 deletions
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, |