mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Fix typo in gmock_cook_book.md
This commit is contained in:
parent
d66ce58510
commit
f014396910
@ -2640,8 +2640,8 @@ action will exhibit different behaviors. Example:
|
|||||||
.WillRepeatedly(IncrementCounter(0));
|
.WillRepeatedly(IncrementCounter(0));
|
||||||
foo.DoThis(); // Returns 1.
|
foo.DoThis(); // Returns 1.
|
||||||
foo.DoThis(); // Returns 2.
|
foo.DoThis(); // Returns 2.
|
||||||
foo.DoThat(); // Returns 1 - Blah() uses a different
|
foo.DoThat(); // Returns 1 - DoThat() uses a different
|
||||||
// counter than Bar()'s.
|
// counter than DoThis()'s.
|
||||||
```
|
```
|
||||||
|
|
||||||
versus
|
versus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user