Googletest export
Remove redundant Base/Derived types. PiperOrigin-RevId: 222243634
This commit is contained in:
parent
bb7c0ecbdf
commit
64368e0584
|
@ -1146,8 +1146,6 @@ TEST(WithArgsTest, ReturnReference) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(WithArgsTest, InnerActionWithConversion) {
|
TEST(WithArgsTest, InnerActionWithConversion) {
|
||||||
struct Base {};
|
|
||||||
struct Derived : Base {};
|
|
||||||
Action<Derived*()> inner = [] { return nullptr; };
|
Action<Derived*()> inner = [] { return nullptr; };
|
||||||
Action<Base*(double)> a = testing::WithoutArgs(inner);
|
Action<Base*(double)> a = testing::WithoutArgs(inner);
|
||||||
EXPECT_EQ(nullptr, a.Perform(std::make_tuple(1.1)));
|
EXPECT_EQ(nullptr, a.Perform(std::make_tuple(1.1)));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user