mirror of https://github.com/AxioDL/tinyxml2.git
added test case for compact save
This commit is contained in:
parent
b476109083
commit
6b8b012daa
|
@ -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;
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue