summaryrefslogtreecommitdiffstats
path: root/googlemock/test
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2018-11-20 15:42:17 (GMT)
committerGennadiy Civil <misterg@google.com>2018-11-20 18:30:32 (GMT)
commita3013cceffbeeadc9da19b766d98830afe3b85c1 (patch)
treee69d30d3e82f27cd0fa8b729099879a2fe3893a4 /googlemock/test
parentf7779eb3cb5d70387c747b9e4b7a1c839e1e1856 (diff)
downloadgoogletest-a3013cceffbeeadc9da19b766d98830afe3b85c1.zip
googletest-a3013cceffbeeadc9da19b766d98830afe3b85c1.tar.gz
googletest-a3013cceffbeeadc9da19b766d98830afe3b85c1.tar.bz2
Googletest export
Fix broken OSS build PiperOrigin-RevId: 222244158
Diffstat (limited to 'googlemock/test')
-rw-r--r--googlemock/test/gmock-actions_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index ccfb519..321648c 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -1139,9 +1139,9 @@ TEST(WithArgsTest, VoidAction) {
}
TEST(WithArgsTest, ReturnReference) {
- Action<int&(int&, void*)> a = WithArgs<0>([](int& a) -> int& { return a; });
+ Action<int&(int&, void*)> aa = WithArgs<0>([](int& a) -> int& { return a; });
int i = 0;
- const int& res = a.Perform(std::forward_as_tuple(i, nullptr));
+ const int& res = aa.Perform(std::forward_as_tuple(i, nullptr));
EXPECT_EQ(&i, &res);
}