From 0b951b7e80a7c53a7cfd11b32b946f3600caed2d Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 4 Nov 2009 19:57:42 +0000 Subject: 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 --- tests/test_xpath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_xpath.cpp') 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) -- cgit v1.2.3