Merge pull request #3531 from theidexisted:patch-1
PiperOrigin-RevId: 392720416
This commit is contained in:
commit
955c7f837e
@ -2033,10 +2033,7 @@ class MockRolodex : public Rolodex {
|
|||||||
}
|
}
|
||||||
...
|
...
|
||||||
MockRolodex rolodex;
|
MockRolodex rolodex;
|
||||||
vector<string> names;
|
vector<string> names = {"George", "John", "Thomas"};
|
||||||
names.push_back("George");
|
|
||||||
names.push_back("John");
|
|
||||||
names.push_back("Thomas");
|
|
||||||
EXPECT_CALL(rolodex, GetNames(_))
|
EXPECT_CALL(rolodex, GetNames(_))
|
||||||
.WillOnce(SetArrayArgument<0>(names.begin(), names.end()));
|
.WillOnce(SetArrayArgument<0>(names.begin(), names.end()));
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user