summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_xpath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp
index 67288b9..abcefd9 100644
--- a/tests/test_xpath.cpp
+++ b/tests/test_xpath.cpp
@@ -24,9 +24,9 @@ TEST(xpath_allocator_many_pages)
{
std::string query = "0";
- for (int i = 0; i < 1024; ++i) query += "+string-length('abcdefgh')";
+ for (int i = 0; i < 128; ++i) query += "+string-length('abcdefgh')";
- CHECK_XPATH_NUMBER(xml_node(), query.c_str(), 8192);
+ CHECK_XPATH_NUMBER(xml_node(), query.c_str(), 1024);
}
TEST(xpath_allocator_large_page)