mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
more OSX pizzas
This commit is contained in:
parent
b74a1af00f
commit
f45728a5ac
@ -1541,7 +1541,8 @@ TEST(FunctorActionTest, UnusedArguments) {
|
||||
// Verify that users can ignore uninteresting arguments.
|
||||
Action<int(int, double y, const int&)> a =
|
||||
[](int i, Unused, Unused) { return 2 * i; };
|
||||
tuple<int, double, const int&> dummy = make_tuple(3, 7.3, 9);
|
||||
int nine = 9;
|
||||
tuple<int, double, const int&> dummy = make_tuple(3, 7.3, nine);
|
||||
EXPECT_EQ(6, a.Perform(dummy));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user