Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
f278076e
Commit
f278076e
authored
Sep 29, 2020
by
Andy Getz
Browse files
Merge pull request #3027 from keshavgbpecdelhi:patch-2
PiperOrigin-RevId: 334384310
parents
705b9c1a
1f3484a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/docs/cook_book.md
googlemock/docs/cook_book.md
+1
-1
No files found.
googlemock/docs/cook_book.md
View file @
f278076e
...
...
@@ -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 you
r
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment