summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:39:43 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:39:43 +0000
commit61ceb10baf347bb19078afdb945a6cdec85777d7 (patch)
treebe25d2607d737657373db68b9fdd5c1f58fb2af1 /tests/test_xpath_parse.cpp
parent23d84cdf7c9a7d91d46bd98aed070148cb697b77 (diff)
tests: Added more XPath variable tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@681 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r--tests/test_xpath_parse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp
index f17357b..f996b24 100644
--- a/tests/test_xpath_parse.cpp
+++ b/tests/test_xpath_parse.cpp
@@ -41,8 +41,9 @@ TEST(xpath_number_error)
TEST(xpath_variables)
{
- CHECK_XPATH_FAIL(STR("$var")); // not implemented
+ CHECK_XPATH_FAIL(STR("$var")); // no variable var
CHECK_XPATH_FAIL(STR("$1"));
+ CHECK_XPATH_FAIL(STR("$"));
}
TEST(xpath_empty_expression)