diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-04 19:57:42 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-04 19:57:42 +0000 |
commit | 0b951b7e80a7c53a7cfd11b32b946f3600caed2d (patch) | |
tree | 72bbb7d68f404c2af7205de38cf58d06dc49df2b /tests/test_xpath.cpp | |
parent | 73b18f7df5964b5bcdb84c38d80dc9dda013ad98 (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/test_xpath.cpp')
-rw-r--r-- | tests/test_xpath.cpp | 4 |
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)
|