mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-19 21:13:39 +00:00
add an error message
This commit is contained in:
parent
331596e83c
commit
c755667aa0
@ -1223,6 +1223,7 @@ int main( int argc, const char ** argv )
|
||||
XMLError error = doc.LoadFile( "resources/empty.xml" );
|
||||
XMLTest( "Loading an empty file", XML_ERROR_EMPTY_DOCUMENT, error );
|
||||
XMLTest( "Loading an empty file and ErrorName as string", "XML_ERROR_EMPTY_DOCUMENT", doc.ErrorName() );
|
||||
doc.PrintError();
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user