0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 09:57:57 +08:00

tests: Added /[1] test

git-svn-id: http://pugixml.googlecode.com/svn/trunk@486 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-05-31 16:55:16 +00:00
parent 4c0e67ae92
commit 8af48d7e23

View File

@ -226,7 +226,7 @@ TEST(xpath_parse_paths_valid_unicode)
} }
} }
TEST(xpath_parse_jaxen_invalid) TEST(xpath_parse_invalid)
{ {
const char_t* paths[] = 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(",") STR("|/gjs"), STR("+3"), STR("/html/body/p != ---'div'/a"), STR(""), STR("@"), STR("#akf"), STR(",")
// Miscellaneous // 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) for (size_t i = 0; i < sizeof(paths) / sizeof(paths[0]); ++i)