diff options
author | Gennadiy Civil <misterg@google.com> | 2018-04-11 09:33:51 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-04-11 09:33:51 -0400 |
commit | f15fd9610b8a462b19a259b4b7ae279b9e97a77c (patch) | |
tree | ee943302800f491d8966a9b85a0e7e15e77c8ab5 /googlemock/test/gmock-generated-actions_test.cc | |
parent | b15be9a819ee3e0a36fcc8172a00ecf41e79f230 (diff) | |
download | googletest-f15fd9610b8a462b19a259b4b7ae279b9e97a77c.tar.gz googletest-f15fd9610b8a462b19a259b4b7ae279b9e97a77c.tar.bz2 googletest-f15fd9610b8a462b19a259b4b7ae279b9e97a77c.zip |
osx pizzas, cont
Diffstat (limited to 'googlemock/test/gmock-generated-actions_test.cc')
-rw-r--r-- | googlemock/test/gmock-generated-actions_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock-generated-actions_test.cc b/googlemock/test/gmock-generated-actions_test.cc index 1d685e58..6ddd57f8 100644 --- a/googlemock/test/gmock-generated-actions_test.cc +++ b/googlemock/test/gmock-generated-actions_test.cc @@ -754,7 +754,8 @@ TEST(ActionPMacroTest, CanReferenceArgumentAndParameterTypes) { TEST(ActionPMacroTest, WorksInCompatibleMockFunction) { Action<std::string(const std::string& s)> a1 = Plus("tail"); const std::string re = "re"; - EXPECT_EQ("retail", a1.Perform(make_tuple(re))); + tuple<const std::string> dummy = make_tuple(re); + EXPECT_EQ("retail", a1.Perform(dummy)); } // Tests that we can use ACTION*() to define actions overloaded on the |