summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_xpath_paths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_paths.cpp b/tests/test_xpath_paths.cpp
index f1d52ad..da8811d 100644
--- a/tests/test_xpath_paths.cpp
+++ b/tests/test_xpath_paths.cpp
@@ -633,7 +633,7 @@ TEST_XML(xpath_paths_null_nodeset_entries, "<node attr='value'/>")
xpath_variable_set vars;
vars.set(STR("x"), ns);
- xpath_node_set rs = xpath_query("$x/.", &vars).evaluate_node_set(xml_node());
+ xpath_node_set rs = xpath_query(STR("$x/."), &vars).evaluate_node_set(xml_node());
CHECK(rs.size() == 2);
CHECK(rs[0] == nodes[0]);