diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-10 17:14:48 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-10 17:14:48 +0000 |
commit | b47b4905a6139461ec39615317705d90a1599c0c (patch) | |
tree | d420672d733b11cb6c8d56522150e8a3a7a97154 /tests/test_deprecated.cpp | |
parent | 8afeb9d71acebb59411d3adaa46744569d8f40e7 (diff) |
Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@407 99668b35-9821-0410-8761-19e4c4f06640
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);
}
|