mirror of
https://github.com/google/googletest.git
synced 2025-04-04 21:15:03 +00:00
Add a manual anchor
gMock outputs text like: NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/docs/gmock_cook_book.md#knowing-when-to-expect for details. This pull request adds the manual anchor to make that link work.
This commit is contained in:
parent
8a011b8a38
commit
37ca58abcb
1 changed files with 1 additions and 1 deletions
|
@ -1485,7 +1485,7 @@ mock object and gMock.
|
|||
|
||||
## Setting Expectations
|
||||
|
||||
### Knowing When to Expect {#UseOnCall}
|
||||
### <a id="knowing-when-to-expect"></a>Knowing When to Expect {#UseOnCall}
|
||||
|
||||
**`ON_CALL`** is likely the *single most under-utilized construct* in gMock.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue