Skip to content

Commit 8aeed3a

Browse files
committed
Restore test
1 parent 3d2082b commit 8aeed3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/yup_data_model/yup_DataTree.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class DataTreeTests : public ::testing::Test
4343

4444
void TearDown() override
4545
{
46+
tree = DataTree();
4647
}
4748

4849
DataTree tree;
@@ -663,6 +664,8 @@ TEST_F (DataTreeTests, ChildChangeNotifications)
663664
EXPECT_EQ (tree, listener.childRemovals[0].parent);
664665
EXPECT_EQ (child, listener.childRemovals[0].child);
665666
EXPECT_EQ (0, listener.childRemovals[0].index);
667+
668+
tree.removeListener (&listener);
666669
}
667670

668671
//==============================================================================

0 commit comments

Comments
 (0)