Commit 955c7f83 authored by CJ Johnson's avatar CJ Johnson
Browse files

Merge pull request #3531 from theidexisted:patch-1

PiperOrigin-RevId: 392720416
parents ff21b36e 088e6ed9
......@@ -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()));
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment