Merge branch 'master' of github.com:leethomason/tinyxml2

This commit is contained in:
Lee Thomason 2017-06-20 09:18:54 -07:00
commit 369f306b37
1 changed files with 2 additions and 2 deletions

View File

@ -1774,9 +1774,9 @@ int main( int argc, const char ** argv )
// an interesting test case.
XMLDocument doc;
XMLError err = doc.Parse(xml);
XMLElement* playlist = doc.FirstChildElement("playlist");
XMLTest("Crash bug parsing", err, XML_SUCCESS);
XMLElement* playlist = doc.FirstChildElement("playlist");
XMLTest("Crash bug parsing", true, playlist != 0);
tinyxml2::XMLElement* entry = playlist->FirstChildElement("entry");