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();
|
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,
|
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
|
you may want to make sure the `Set()` and `Clear()` calls are right next to the
|
||||||
code that uses your mock.
|
code that uses your mock.
|
||||||
|
Loading…
Reference in New Issue
Block a user