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
955c7f83
Commit
955c7f83
authored
Aug 26, 2021
by
CJ Johnson
Browse files
Merge pull request #3531 from theidexisted:patch-1
PiperOrigin-RevId: 392720416
parents
ff21b36e
088e6ed9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
docs/gmock_cook_book.md
docs/gmock_cook_book.md
+1
-4
No files found.
docs/gmock_cook_book.md
View file @
955c7f83
...
...
@@ -2033,10 +2033,7 @@ class MockRolodex : public Rolodex {
}
...
MockRolodex
rolodex
;
vector
<
string
>
names
;
names
.
push_back
(
"George"
);
names
.
push_back
(
"John"
);
names
.
push_back
(
"Thomas"
);
vector
<
string
>
names
=
{
"George"
,
"John"
,
"Thomas"
};
EXPECT_CALL
(
rolodex
,
GetNames
(
_
))
.
WillOnce
(
SetArrayArgument
<
0
>
(
names
.
begin
(),
names
.
end
()));
```
...
...
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