clean up the scope and names of the error code.

This commit is contained in:
Lee Thomason
2014-09-11 14:56:43 -07:00
parent cd8550c29c
commit 331596e83c
3 changed files with 42 additions and 35 deletions

View File

@@ -1222,7 +1222,7 @@ int main( int argc, const char ** argv )
XMLDocument doc;
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", XMLUtil::ToErrorName(error) );
XMLTest( "Loading an empty file and ErrorName as string", "XML_ERROR_EMPTY_DOCUMENT", doc.ErrorName() );
}
{