From 52bcb4ecd6a1f87c7a8f82315faac26f5066117a Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 21 Apr 2015 21:35:54 -0700 Subject: tests: Adjust allocation thresholds to fix tests --- tests/test_xpath_variables.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_xpath_variables.cpp') diff --git a/tests/test_xpath_variables.cpp b/tests/test_xpath_variables.cpp index f72d6ff..c4a3b7f 100644 --- a/tests/test_xpath_variables.cpp +++ b/tests/test_xpath_variables.cpp @@ -445,7 +445,7 @@ TEST_XML(xpath_variables_copy, "") CHECK(!set3.get(STR("a"))); } -TEST_XML(xpath_variables_copy_out_of_memory, "") +TEST_XML(xpath_variables_copy_out_of_memory, "") { xpath_variable_set set1; set1.set(STR("a"), true); @@ -471,7 +471,7 @@ TEST_XML(xpath_variables_copy_out_of_memory, "") CHECK(set2.get(STR("a"))->get_boolean() == true); CHECK(set2.get(STR("b"))->get_number() == 2.0); CHECK_STRING(set2.get(STR("c"))->get_string(), STR("string")); - CHECK(set2.get(STR("d"))->get_node_set().size() == 1); + CHECK(set2.get(STR("d"))->get_node_set().size() == 2); } #if __cplusplus >= 201103 -- cgit v1.2.3