add an error message

This commit is contained in:
Lee Thomason 2014-09-14 12:39:42 -07:00
parent 331596e83c
commit c755667aa0
1 changed files with 1 additions and 0 deletions

View File

@ -1223,6 +1223,7 @@ int main( int argc, const char ** argv )
XMLError error = doc.LoadFile( "resources/empty.xml" ); XMLError error = doc.LoadFile( "resources/empty.xml" );
XMLTest( "Loading an empty file", XML_ERROR_EMPTY_DOCUMENT, error ); 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() ); XMLTest( "Loading an empty file and ErrorName as string", "XML_ERROR_EMPTY_DOCUMENT", doc.ErrorName() );
doc.PrintError();
} }
{ {