From 0cac815b6398d60171e992a4333ab16ad542aebc Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 8 Nov 2009 15:17:46 +0000 Subject: tests: More coverage tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@225 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_parse.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test_xpath_parse.cpp') 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 -- cgit v1.2.3