tweak test

This commit is contained in:
Lee Thomason 2017-06-16 09:48:20 -07:00
parent 224ef775c6
commit 82bb074b49

View File

@ -1798,6 +1798,12 @@ int main( int argc, const char ** argv )
printf("%s\n", printer.CStr());
// No test; it only need to not crash.
// Still, wrap it up with a sanity check
int nProperty = 0;
for (const XMLElement* p = playlist->FirstChildElement("property"); p; p = p->NextSiblingElement("property")) {
nProperty++;
}
XMLTest("Crash bug parsing", nProperty, 2);
}
// ----------- Line Number Tracking --------------