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