summaryrefslogtreecommitdiff
path: root/test/XPath/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/XPath/tests')
-rw-r--r--test/XPath/tests/langsimple5
-rw-r--r--test/XPath/tests/mixedpat7
2 files changed, 12 insertions, 0 deletions
diff --git a/test/XPath/tests/langsimple b/test/XPath/tests/langsimple
new file mode 100644
index 0000000..f71a321
--- /dev/null
+++ b/test/XPath/tests/langsimple
@@ -0,0 +1,5 @@
+//*[lang('en')]
+//*[lang('en-us')]
+//*[lang('en-gb')]
+//*[lang('fr')]
+//*[lang('')]
diff --git a/test/XPath/tests/mixedpat b/test/XPath/tests/mixedpat
new file mode 100644
index 0000000..c212f6c
--- /dev/null
+++ b/test/XPath/tests/mixedpat
@@ -0,0 +1,7 @@
+s
+s|p1/s
+s|/root/p1/s
+/root/p1/s|s
+//s
+//s|p1
+p1|//s