From 7b74531c1badc08b15983a34a85f837c2bd0a8e7 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Fri, 24 Oct 2014 01:37:27 +0000 Subject: tests: Fix test failure in PUGIXML_WCHAR_MODE git-svn-id: https://pugixml.googlecode.com/svn/trunk@1077 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_variables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3