diff options
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r-- | tests/test_xpath_parse.cpp | 3 |
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) |