summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-more-actions_test.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-12 17:00:31 -0400
committerGennadiy Civil <misterg@google.com>2018-04-12 17:00:31 -0400
commitf7330f9f14e8860bbec0620eb1d06f9c812cf561 (patch)
treede8da25573b0e66f37111a976dcbf9ed234e1b81 /googlemock/test/gmock-more-actions_test.cc
parent65380492b2b43fe3f6ddb7e85a1a01b833f0c6da (diff)
downloadgoogletest-f7330f9f14e8860bbec0620eb1d06f9c812cf561.tar.gz
googletest-f7330f9f14e8860bbec0620eb1d06f9c812cf561.zip
more fixing osx libstd++ bugs
Diffstat (limited to 'googlemock/test/gmock-more-actions_test.cc')
-rw-r--r--googlemock/test/gmock-more-actions_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock-more-actions_test.cc b/googlemock/test/gmock-more-actions_test.cc
index 7145a04b..911d034a 100644
--- a/googlemock/test/gmock-more-actions_test.cc
+++ b/googlemock/test/gmock-more-actions_test.cc
@@ -328,7 +328,8 @@ TEST(InvokeTest, FunctionThatTakes10Arguments) {
// Tests using Invoke() with functions with parameters declared as Unused.
TEST(InvokeTest, FunctionWithUnusedParameters) {
Action<int(int, int, double, const std::string&)> a1 = Invoke(SumOfFirst2);
- EXPECT_EQ(12, a1.Perform(make_tuple(10, 2, 5.6, std::string("hi"))));
+ tuple<int, int, double, std::string> dummy = make_tuple(10, 2, 5.6, std::string("hi"));
+ EXPECT_EQ(12, a1.Perform(dummy));
Action<int(int, int, bool, int*)> a2 =
Invoke(SumOfFirst2);
OpenPOWER on IntegriCloud