summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-31 16:55:16 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-31 16:55:16 +0000
commit8af48d7e23a32ca73f0fdd53bff62915131d01d6 (patch)
treecdd18af7bfe071753b5c8ae72832f6ae106d9ea7 /tests/test_xpath_parse.cpp
parent4c0e67ae92f288be74748af9de7891b7b641943e (diff)
tests: Added /[1] test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@486 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r--tests/test_xpath_parse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp
index caebb9b..ceede22 100644
--- a/tests/test_xpath_parse.cpp
+++ b/tests/test_xpath_parse.cpp
@@ -226,7 +226,7 @@ TEST(xpath_parse_paths_valid_unicode)
}
}
-TEST(xpath_parse_jaxen_invalid)
+TEST(xpath_parse_invalid)
{
const char_t* paths[] =
{
@@ -245,7 +245,7 @@ TEST(xpath_parse_jaxen_invalid)
STR("|/gjs"), STR("+3"), STR("/html/body/p != ---'div'/a"), STR(""), STR("@"), STR("#akf"), STR(",")
// Miscellaneous
- STR("..."), STR("...."), STR("**"), STR("****"), STR("******"), STR("..***..***.***.***..***..***..*")
+ STR("..."), STR("...."), STR("**"), STR("****"), STR("******"), STR("..***..***.***.***..***..***..*"), STR("/[1]")
};
for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); ++i)