gmock_cook_book.md: Delete superfluous statement from 2014.
PiperOrigin-RevId: 454677195 Change-Id: I7a1419e22d617db41a5c310bc6f6158ba4cec1ab
This commit is contained in:
parent
b644b4fbbf
commit
8b521aa43a
@ -392,8 +392,7 @@ Old macros and their new equivalents:
|
|||||||
If a mock method has no `EXPECT_CALL` spec but is called, we say that it's an
|
If a mock method has no `EXPECT_CALL` spec but is called, we say that it's an
|
||||||
"uninteresting call", and the default action (which can be specified using
|
"uninteresting call", and the default action (which can be specified using
|
||||||
`ON_CALL()`) of the method will be taken. Currently, an uninteresting call will
|
`ON_CALL()`) of the method will be taken. Currently, an uninteresting call will
|
||||||
also by default cause gMock to print a warning. (In the future, we might remove
|
also by default cause gMock to print a warning.
|
||||||
this warning by default.)
|
|
||||||
|
|
||||||
However, sometimes you may want to ignore these uninteresting calls, and
|
However, sometimes you may want to ignore these uninteresting calls, and
|
||||||
sometimes you may want to treat them as errors. gMock lets you make the decision
|
sometimes you may want to treat them as errors. gMock lets you make the decision
|
||||||
|
Loading…
Reference in New Issue
Block a user