Merge pull request #3027 from keshavgbpecdelhi:patch-2

PiperOrigin-RevId: 334384310
This commit is contained in:
Andy Getz 2020-09-29 20:47:44 -04:00
commit f278076efe

View File

@ -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.