From e3293a8baa1294e51bfcd6d3fc0cb7cee756ee7c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 8 Nov 2009 12:25:56 +0000 Subject: tests: Mostly complete coverage of XPath W3C git-svn-id: http://pugixml.googlecode.com/svn/trunk@217 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 5eb23b8..4595b3c 100644 --- a/tests/test_xpath_parse.cpp +++ b/tests/test_xpath_parse.cpp @@ -39,4 +39,9 @@ TEST(xpath_variables) CHECK_XPATH_FAIL("$var"); // not implemented } +TEST(xpath_empty_expression) +{ + CHECK_XPATH_FAIL(""); +} + #endif -- cgit v1.2.3