diff options
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r-- | tests/test_xpath_parse.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp index 4595b3c..cce3085 100644 --- a/tests/test_xpath_parse.cpp +++ b/tests/test_xpath_parse.cpp @@ -44,4 +44,9 @@ TEST(xpath_empty_expression) CHECK_XPATH_FAIL("");
}
+TEST(xpath_lexer_error)
+{
+ CHECK_XPATH_FAIL("!");
+}
+
#endif
|