diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-24 01:37:27 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-24 01:37:27 +0000 |
commit | 7b74531c1badc08b15983a34a85f837c2bd0a8e7 (patch) | |
tree | 5003f3a854d4eeca5c26867f7dbfb635b904d783 /tests/test_xpath_variables.cpp | |
parent | 546997683a9edc1b77b60ac96776668d3f57adad (diff) |
tests: Fix test failure in PUGIXML_WCHAR_MODE
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1077 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_variables.cpp')
-rw-r--r-- | tests/test_xpath_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_variables.cpp b/tests/test_xpath_variables.cpp index 728eaa9..53b40cf 100644 --- a/tests/test_xpath_variables.cpp +++ b/tests/test_xpath_variables.cpp @@ -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);
|