summaryrefslogtreecommitdiff
path: root/tests/test_xpath_paths.cpp
diff options
context:
space:
mode:
authorMatthias Loy <matthias.loy@hbm.com>2014-11-03 20:23:35 +0100
committerMatthias Loy <matthias.loy@hbm.com>2014-11-03 20:23:35 +0100
commit1912894f5331a29de37fb13469c6eea16e51d4e4 (patch)
tree8966cd9b2824407bd90ea08b456438cbdb67eaa5 /tests/test_xpath_paths.cpp
parent837ced350c5123c21c32154f1f2dc483238f7629 (diff)
parent3950ee0433aaed3c35eaee7548bae5b00ee22a80 (diff)
:Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests/test_xpath_paths.cpp')
-rw-r--r--tests/test_xpath_paths.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_xpath_paths.cpp b/tests/test_xpath_paths.cpp
index df0dfa4..e51a395 100644
--- a/tests/test_xpath_paths.cpp
+++ b/tests/test_xpath_paths.cpp
@@ -664,6 +664,8 @@ TEST_XML(xpath_paths_optimize_step_once, "<node><para1><para2/><para3/><para4><p
CHECK_XPATH_BOOLEAN(doc, STR("//para5/ancestor-or-self::*"), true);
CHECK_XPATH_BOOLEAN(doc, STR("//para5/ancestor::*"), true);
+
+ CHECK_XPATH_BOOLEAN(doc, STR("//@attr5/ancestor-or-self::node()"), true);
}
TEST_XML(xpath_paths_null_nodeset_entries, "<node attr='value'/>")