summaryrefslogtreecommitdiff
path: root/tests/test_xpath_functions.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-28 18:39:43 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-10-28 18:39:43 +0000
commit45dc0226d18abb281e506927a0264e20c0131edc (patch)
treeea5e8c28cf2a61c65ba02ebce2ae6c9353516ebb /tests/test_xpath_functions.cpp
parentbabd0c2c9b233040082d2761a7194c4a05d69ba9 (diff)
tests: Added one more normalize-space test, added tests for all logical & comparison operators
git-svn-id: http://pugixml.googlecode.com/svn/trunk@183 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_functions.cpp')
-rw-r--r--tests/test_xpath_functions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_xpath_functions.cpp b/tests/test_xpath_functions.cpp
index bc432af..d580d89 100644
--- a/tests/test_xpath_functions.cpp
+++ b/tests/test_xpath_functions.cpp
@@ -461,6 +461,7 @@ TEST_XML_FLAGS(xpath_string_normalize_space, "<node> \t\r\rval1 \rval2\r\nval3\
CHECK_XPATH_STRING(c, "normalize-space('abcd \n\r')", "abcd");
CHECK_XPATH_STRING(c, "normalize-space('ab\r\n\tcd')", "ab cd");
CHECK_XPATH_STRING(c, "normalize-space('ab cd')", "ab cd");
+ CHECK_XPATH_STRING(c, "normalize-space('\07')", "\07");
// normalize-space with 2 arguments
CHECK_XPATH_FAIL("normalize-space(1, 2)");