From 1f3484a2b7af704630661b8e323ddad0c4a07d4e Mon Sep 17 00:00:00 2001 From: keshavgbpecdelhi <56075233+keshavgbpecdelhi@users.noreply.github.com> Date: Sun, 27 Sep 2020 15:27:14 +0530 Subject: [PATCH] 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. --- googlemock/docs/cook_book.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index 0890fb87..f8e9a50f 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -2115,7 +2115,7 @@ class MockFoo : public Foo { DefaultValue::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.