summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-11-20 15:37:46 (GMT)
committerGennadiy Civil <misterg@google.com>2018-11-20 18:30:16 (GMT)
commit64368e0584e03bac626a1a431afe2982117a6e17 (patch)
tree78a668bc3eb80cc27ce45373fbf7b7d4dcf4104e /googlemock
parentbb7c0ecbdf47a5c61d212cbfd2177bf3bf18479b (diff)
downloadgoogletest-64368e0584e03bac626a1a431afe2982117a6e17.zip
googletest-64368e0584e03bac626a1a431afe2982117a6e17.tar.gz
googletest-64368e0584e03bac626a1a431afe2982117a6e17.tar.bz2
Googletest export
Remove redundant Base/Derived types. PiperOrigin-RevId: 222243634
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/test/gmock-actions_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index 976f56d..ccfb519 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -1146,8 +1146,6 @@ TEST(WithArgsTest, ReturnReference) {
}
TEST(WithArgsTest, InnerActionWithConversion) {
- struct Base {};
- struct Derived : Base {};
Action<Derived*()> inner = [] { return nullptr; };
Action<Base*(double)> a = testing::WithoutArgs(inner);
EXPECT_EQ(nullptr, a.Perform(std::make_tuple(1.1)));