diff --git a/wmserver/test/unittest/display_group_controller_test.cpp b/wmserver/test/unittest/display_group_controller_test.cpp index 91ecd1a00b945a16bdbc7ffc83a76001fa3e2e7b..94deaeee22178e7a676db5dd712807244f41b943 100644 --- a/wmserver/test/unittest/display_group_controller_test.cpp +++ b/wmserver/test/unittest/display_group_controller_test.cpp @@ -545,6 +545,7 @@ HWTEST_F(DisplayGroupControllerTest, MoveCrossNodeToTargetDisplay01, TestSize.Le auto showingDisplays = child->GetShowingDisplays(); ASSERT_NE(0, showingDisplays.size()); ASSERT_EQ(0, showingDisplays[0]); + node1->children_.pop_back(); } /**