diff options
Diffstat (limited to 'tests/test_deprecated.cpp')
-rw-r--r-- | tests/test_deprecated.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp index fe88f63..4677fdf 100644 --- a/tests/test_deprecated.cpp +++ b/tests/test_deprecated.cpp @@ -208,6 +208,6 @@ TEST_XML(document_order_coverage, "<node id='1'/>") xml_document doc;
doc.precompute_document_order();
- CHECK(doc.child("node").document_order() == 0);
- CHECK(doc.child("node").attribute("id").document_order() == 0);
+ CHECK(doc.child(STR("node")).document_order() == 0);
+ CHECK(doc.child(STR("node")).attribute(STR("id")).document_order() == 0);
}
|