diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-21 00:14:53 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-21 00:14:53 -0700 |
commit | ce974094ace6a33d46d8dcc6ca66a6fcdc014bbd (patch) | |
tree | a6c2f594cbc04bd2042dd55c66afc23f51f9b14c /tests/test_header_only.cpp | |
parent | 28e63f66e1e947de276a2181b28906528a483037 (diff) |
tests: Fix test compilation
Rename PAGE_SIZE to page_size to avoid define conflict with Android SDK.
Minor fixes in several tests.
Diffstat (limited to 'tests/test_header_only.cpp')
-rw-r--r-- | tests/test_header_only.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_header_only.cpp b/tests/test_header_only.cpp index f1990dd..17cafca 100644 --- a/tests/test_header_only.cpp +++ b/tests/test_header_only.cpp @@ -12,5 +12,8 @@ TEST(header_only) xml_document doc; CHECK(doc.load_string(STR("<node/>"))); CHECK_STRING(doc.first_child().name(), STR("node")); + +#ifndef PUGIXML_NO_XPATH CHECK(doc.first_child() == doc.select_node(STR("//*")).node()); +#endif } |