mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Merge pull request #3027 from keshavgbpecdelhi:patch-2
PiperOrigin-RevId: 334384310
This commit is contained in:
commit
f278076efe
@ -2115,7 +2115,7 @@ class MockFoo : public Foo {
|
||||
DefaultValue<Bar>::Clear();
|
||||
```
|
||||
|
||||
Please note that changing the default value for a type can make you tests hard
|
||||
Please note that changing the default value for a type can make your tests hard
|
||||
to understand. We recommend you to use this feature judiciously. For example,
|
||||
you may want to make sure the `Set()` and `Clear()` calls are right next to the
|
||||
code that uses your mock.
|
||||
|
Loading…
x
Reference in New Issue
Block a user