0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-27 13:33:17 +08:00

tests: Minor fix

git-svn-id: http://pugixml.googlecode.com/svn/trunk@573 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-07-07 21:16:47 +00:00
parent 5811786ccd
commit c3e70f0b74

View File

@ -413,7 +413,7 @@ TEST_XML(dom_node_remove_child_complex, "<node id='1'><n1 id1='1' id2='2'/><n2/>
CHECK_NODE(doc, STR("<node id=\"1\"><n2 /><n3 /><child><n4 /></child></node>"));
doc.remove_child(STR("node"));
CHECK(doc.remove_child(STR("node")));
CHECK_NODE(doc, STR(""));
}
@ -422,8 +422,8 @@ TEST_XML(dom_node_remove_child_complex_allocated, "<node id='1'><n1 id1='1' id2=
{
doc.append_copy(doc.child(STR("node")));
doc.remove_child(STR("node"));
doc.remove_child(STR("node"));
CHECK(doc.remove_child(STR("node")));
CHECK(doc.remove_child(STR("node")));
CHECK_NODE(doc, STR(""));
}