summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 21:35:42 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 21:35:42 +0000
commit664638059a1a680d7d8cdfa1ac30430debb4a4fc (patch)
tree294891aeb837f3b0e931f08a9a894a6962213b2f /tests
parent44a8f9ea1dcbb19f38fa5a781a6b77b85c602d97 (diff)
Minor coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@392 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-rw-r--r--tests/test_deprecated.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp
index 09509bf..8565f96 100644
--- a/tests/test_deprecated.cpp
+++ b/tests/test_deprecated.cpp
@@ -110,6 +110,7 @@ TEST_XML(dom_node_child_value_w, "<node><novalue/><child1>value1</child1><child2
CHECK_STRING(node.child_value_w(STR("c*[23456789]")), STR("value2"));
CHECK_STRING(node.child_value_w(STR("*")), STR("")); // child_value(name) and child_value_w(pattern) do not continue the search if a node w/out value is found first
+ CHECK_STRING(node.child_value_w(STR("nothing*here")), STR(""));
}
TEST_XML(dom_node_find_child_by_attribute_w, "<node><child1 attr='value1'/><child2 attr='value2'/><child2 attr='value3'/></node>")