mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-14 01:47:55 +08:00
tests: Fix test failure in PUGIXML_WCHAR_MODE
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1077 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
546997683a
commit
7b74531c1b
@ -281,7 +281,7 @@ TEST(xpath_variables_long_name_out_of_memory)
|
||||
xpath_variable_set set;
|
||||
set.set(STR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), true);
|
||||
|
||||
test_runner::_memory_fail_threshold = 4096 + 128;
|
||||
test_runner::_memory_fail_threshold = 4096 + 64 + 52 * sizeof(char_t);
|
||||
|
||||
#ifdef PUGIXML_NO_EXCEPTIONS
|
||||
xpath_query q(STR("$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), &set);
|
||||
|
Loading…
x
Reference in New Issue
Block a user