[libxml2] Regression test for bug #695699
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Regression test for bug #695699
- Date: Sun, 8 Mar 2015 16:15:11 +0000 (UTC)
commit 02b252d7a272483077f905eb3a71d489410d1c06
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Sun Mar 8 17:00:37 2015 +0100
Regression test for bug #695699
result/XPath/tests/chaptersbase | 10 ++++++++++
test/XPath/tests/chaptersbase | 1 +
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/result/XPath/tests/chaptersbase b/result/XPath/tests/chaptersbase
index 03c6567..e023bf0 100644
--- a/result/XPath/tests/chaptersbase
+++ b/result/XPath/tests/chaptersbase
@@ -113,3 +113,13 @@ Set contains 5 nodes:
ATTRIBUTE id
TEXT
content=chapter5
+
+========================
+Expression: //p[1]
+Object is a Node Set :
+Set contains 5 nodes:
+1 ELEMENT p
+2 ELEMENT p
+3 ELEMENT p
+4 ELEMENT p
+5 ELEMENT p
diff --git a/test/XPath/tests/chaptersbase b/test/XPath/tests/chaptersbase
index daa53b7..17638f7 100644
--- a/test/XPath/tests/chaptersbase
+++ b/test/XPath/tests/chaptersbase
@@ -7,3 +7,4 @@
/child::EXAMPLE/child::head/node()
/descendant::title
/descendant::p/ancestor::chapter
+//p[1]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]