summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 19:23:20 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-04 19:23:20 +0000
commit6948d1f171e02558a846e63aa58ffc06547eba87 (patch)
tree0d80f719b8464715ea5b66406c4b07e9cbc61846 /tests/test_xpath_parse.cpp
parent0092960c9e792c2c89f9f0d8213f855fd4afe634 (diff)
tests: Completed function library tests, added namespace axis and variable reference tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@204 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r--tests/test_xpath_parse.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp
index 6d9a4e7..5eb23b8 100644
--- a/tests/test_xpath_parse.cpp
+++ b/tests/test_xpath_parse.cpp
@@ -29,10 +29,14 @@ TEST(xpath_number_parse)
TEST(xpath_number_error)
{
- xml_node c;
CHECK_XPATH_FAIL("123a");
CHECK_XPATH_FAIL("123.a");
CHECK_XPATH_FAIL(".123a");
}
+TEST(xpath_variables)
+{
+ CHECK_XPATH_FAIL("$var"); // not implemented
+}
+
#endif