From eefd73bc4e51184021cc84bd9adf3f600438d958 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 8 Nov 2009 15:30:49 +0000 Subject: tests: More XPath coverage git-svn-id: http://pugixml.googlecode.com/svn/trunk@226 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 9cf8164..1ab4d71 100644 --- a/tests/test_xpath_functions.cpp +++ b/tests/test_xpath_functions.cpp @@ -688,6 +688,9 @@ TEST(xpath_function_arguments) // whitespace after function name CHECK_XPATH_BOOLEAN(c, "true ()", true); + + // too many arguments + CHECK_XPATH_FAIL("round(1, 2, 3, 4, 5, 6)"); } TEST_XML_FLAGS(xpath_string_value, "pcdata", parse_default | parse_pi | parse_comments) -- cgit v1.2.3