summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 19:57:42 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 19:57:42 +0000
commit0b951b7e80a7c53a7cfd11b32b946f3600caed2d (patch)
tree72bbb7d68f404c2af7205de38cf58d06dc49df2b /tests
parent73b18f7df5964b5bcdb84c38d80dc9dda013ad98 (diff)
tests: Reduced stack pressure for one of tests (CW/IC8 can't handle it)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@207 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
-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)