Browse Source

add an error message

Lee Thomason 11 years ago
parent
commit
c755667aa0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      xmltest.cpp

+ 1 - 0
xmltest.cpp

@@ -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();
 	}
 
 	{