Fix compilation errors. (#155)

This commit is contained in:
Arthur Sonzogni 2021-07-15 22:45:10 +02:00 committed by GitHub
parent c34494ce26
commit a56bb50807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ TEST(ContainerTest, Detach) {
EXPECT_EQ(child_3->Parent(), nullptr);
}
TEST(ContainerTest, DetachAllChild) {
TEST(ContainerTest, DetachAllChildren) {
auto parent = Make();
auto child_1 = Make();
auto child_2 = Make();
@ -89,7 +89,7 @@ TEST(ContainerTest, DetachAllChild) {
EXPECT_EQ(child_2->Parent(), parent.get());
EXPECT_EQ(child_3->Parent(), parent.get());
parent->DetachAllChild();
parent->DetachAllChildren();
EXPECT_EQ(parent->ChildCount(), 0u);
EXPECT_EQ(child_1->Parent(), nullptr);