diff options
-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);
|