diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-08 00:31:05 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-08 00:33:51 -0800 |
commit | b98c914053769c8b356b572629dce818034b27a4 (patch) | |
tree | 5068042eebfb950c920e54e990ead04afbb693e1 /tests/test_xpath.cpp | |
parent | 1688f44185c1d2c81afa6541d25e8bd7c35ce81b (diff) |
tests: Fix clang build
Diffstat (limited to 'tests/test_xpath.cpp')
-rw-r--r-- | tests/test_xpath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp index a2af5e6..417440b 100644 --- a/tests/test_xpath.cpp +++ b/tests/test_xpath.cpp @@ -531,7 +531,7 @@ TEST_XML(xpath_memory_translate_table, "<node>a</node>") query += STR("translate(.,'a','A'),"); query += STR("'')"); - CHECK_ALLOC_FAIL(pugi::xpath_query(query.c_str()).evaluate_string(doc.first_child()) == STR("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")); + CHECK_ALLOC_FAIL(CHECK(!pugi::xpath_query(query.c_str()))); } TEST_XML(xpath_sort_copy_share, "<node><child1 attr1='value1' attr2='value2'/><child2 attr1='value1'>test</child2></node>") |