From b1f1de5a7a98b66f557e5254f66e6d7cd2756224 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 8 Nov 2009 12:34:00 +0000 Subject: XPath: Minor fix git-svn-id: http://pugixml.googlecode.com/svn/trunk@218 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_functions.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_xpath_functions.cpp') diff --git a/tests/test_xpath_functions.cpp b/tests/test_xpath_functions.cpp index e34fac1..a0c59b8 100644 --- a/tests/test_xpath_functions.cpp +++ b/tests/test_xpath_functions.cpp @@ -682,6 +682,9 @@ TEST(xpath_function_arguments) // lack of commas CHECK_XPATH_FAIL("substring(1 2)"); + + // whitespace after function name + CHECK_XPATH_BOOLEAN(c, "true ()", true); } TEST_XML_FLAGS(xpath_string_value, "pcdata", parse_default | parse_pi | parse_comments) -- cgit v1.2.3