mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +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:
parent
4c0e67ae92
commit
8af48d7e23
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user