fixing osx pizza
This commit is contained in:
parent
6f9db26159
commit
b15be9a819
|
@ -376,7 +376,8 @@ class SubstractAction : public ActionInterface<int(int, int)> { // NOLINT
|
|||
TEST(WithArgsTest, NonInvokeAction) {
|
||||
Action<int(const std::string&, int, int)> a = // NOLINT
|
||||
WithArgs<2, 1>(MakeAction(new SubstractAction));
|
||||
EXPECT_EQ(8, a.Perform(make_tuple(std::string("hi"), 2, 10)));
|
||||
tuple<std::string, int, int> dummy = make_tuple(std::string("hi"), 2, 10);
|
||||
EXPECT_EQ(8, a.Perform(dummy));
|
||||
}
|
||||
|
||||
// Tests using WithArgs to pass all original arguments in the original order.
|
||||
|
|
Loading…
Reference in New Issue
Block a user