From ce974094ace6a33d46d8dcc6ca66a6fcdc014bbd Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sat, 21 Mar 2015 00:14:53 -0700 Subject: tests: Fix test compilation Rename PAGE_SIZE to page_size to avoid define conflict with Android SDK. Minor fixes in several tests. --- tests/test_header_only.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_header_only.cpp') 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(""))); CHECK_STRING(doc.first_child().name(), STR("node")); + +#ifndef PUGIXML_NO_XPATH CHECK(doc.first_child() == doc.select_node(STR("//*")).node()); +#endif } -- cgit v1.2.3