summaryrefslogtreecommitdiff
path: root/tests/test_dom_modify.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-07 21:16:47 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-07 21:16:47 +0000
commitc3e70f0b74a77d8aa0296c7991eb9768280426da (patch)
tree777b5765d3760a6f251b1c8bc0507b6a8435476b /tests/test_dom_modify.cpp
parent5811786ccdf88af00852db78318c48deaa0dc24c (diff)
tests: Minor fix
git-svn-id: http://pugixml.googlecode.com/svn/trunk@573 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_modify.cpp')
-rw-r--r--tests/test_dom_modify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_dom_modify.cpp b/tests/test_dom_modify.cpp
index 384124c..1e38d95 100644
--- a/tests/test_dom_modify.cpp
+++ b/tests/test_dom_modify.cpp
@@ -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(""));
}