Skip to content

Commit

Permalink
Update cook_book.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
keshavgbpecdelhi authored Sep 27, 2020
1 parent fe4d5f1 commit 1f3484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googlemock/docs/cook_book.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1f3484a

Please sign in to comment.