Commit 943304ae authored by David Faure's avatar David Faure
Browse files

Fix broken unittest after fc7d6e69

node2ExtraSubNode was registered twice, and therefore deleted twice.
parent 2453bf6d
...@@ -63,7 +63,6 @@ void NodeHelperTest::testPersistentIndex() ...@@ -63,7 +63,6 @@ void NodeHelperTest::testPersistentIndex()
node2ExtraSubNode->addContent(node2ExtraSubsubNode); node2ExtraSubNode->addContent(node2ExtraSubsubNode);
node2ExtraSubNode->addContent(node2ExtraSubsubNode2); node2ExtraSubNode->addContent(node2ExtraSubsubNode2);
helper.attachExtraContent(node2, node2Extra); helper.attachExtraContent(node2, node2Extra);
helper.attachExtraContent(node2Extra, node2ExtraSubNode);
/* all content has a internal first child, so indexes starts at 2 /* all content has a internal first child, so indexes starts at 2
* node "" * node ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment