fix test cases
This commit is contained in:
@@ -569,7 +569,7 @@ int main( int argc, const char ** argv )
|
|||||||
XMLTest( "Bad XML", XML_ERROR_PARSING_ATTRIBUTE, doc.ErrorID() );
|
XMLTest( "Bad XML", XML_ERROR_PARSING_ATTRIBUTE, doc.ErrorID() );
|
||||||
const char* errorStr = doc.ErrorStr();
|
const char* errorStr = doc.ErrorStr();
|
||||||
XMLTest("Formatted error string",
|
XMLTest("Formatted error string",
|
||||||
"Error=XML_ERROR_PARSING_ATTRIBUTE ErrorID=8 (0x8) Line number=3: XMLElement name=wrong",
|
"Error=XML_ERROR_PARSING_ATTRIBUTE ErrorID=7 (0x7) Line number=3: XMLElement name=wrong",
|
||||||
errorStr);
|
errorStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1176,7 +1176,7 @@ int main( int argc, const char ** argv )
|
|||||||
// But be sure there is an error string!
|
// But be sure there is an error string!
|
||||||
const char* errorStr = doc.ErrorStr();
|
const char* errorStr = doc.ErrorStr();
|
||||||
XMLTest("Error string should be set",
|
XMLTest("Error string should be set",
|
||||||
"Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=15 (0xf) Line number=0",
|
"Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0",
|
||||||
errorStr);
|
errorStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user