summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 15:17:46 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-08 15:17:46 +0000
commit0cac815b6398d60171e992a4333ab16ad542aebc (patch)
tree303c706d29e7422b10df16ea6b97dc796b9cc022 /tests/test_xpath_parse.cpp
parentc5d97527366f9c39e84e3a4089ff74311b14c489 (diff)
tests: More coverage tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@225 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r--tests/test_xpath_parse.cpp5
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