mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Fix typo in docs mocking cheatsheet code example
This commit is contained in:
parent
4902ea2d7c
commit
84caa3bf40
@ -153,7 +153,7 @@ To customize the default action for functions with return type `T`, use
|
|||||||
EXPECT_NE(buzz1, buzz2);
|
EXPECT_NE(buzz1, buzz2);
|
||||||
|
|
||||||
// Resets the default action for return type std::unique_ptr<Buzz>,
|
// Resets the default action for return type std::unique_ptr<Buzz>,
|
||||||
// to avoid interfere with other tests.
|
// to avoid interfering with other tests.
|
||||||
DefaultValue<std::unique_ptr<Buzz>>::Clear();
|
DefaultValue<std::unique_ptr<Buzz>>::Clear();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user