added test case for compact save

This commit is contained in:
Lee Thomason (grinliz) 2012-09-08 21:21:00 -07:00
parent b476109083
commit 6b8b012daa
1 changed files with 2 additions and 0 deletions

View File

@ -296,6 +296,8 @@ int main( int /*argc*/, const char ** /*argv*/ )
doc->Print( &streamer );
XMLTest( "Compact mode", "<element><sub attrib=\"1\"/><sub/></element>", streamer.CStr(), false );
}
doc->SaveFile( "./resources/out/pretty.xml" );
doc->SaveFile( "./resources/out/compact.xml", true );
delete doc;
}
{