Update cook_book.md

Please note that changing the default value for a type can make [you]* test.....
Here "you" word doesn't make sense.. rather "your" seems to make it understandable.
This commit is contained in:
keshavgbpecdelhi 2020-09-27 15:27:14 +05:30 committed by GitHub
parent fe4d5f1084
commit 1f3484a2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.