diff options
author | Abseil Team <absl-team@google.com> | 2018-11-20 15:37:46 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-11-20 18:30:16 (GMT) |
commit | 64368e0584e03bac626a1a431afe2982117a6e17 (patch) | |
tree | 78a668bc3eb80cc27ce45373fbf7b7d4dcf4104e /googlemock | |
parent | bb7c0ecbdf47a5c61d212cbfd2177bf3bf18479b (diff) | |
download | googletest-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.cc | 2 |
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))); |