commit | 6b8b012daa9fe4b5ad64e4a4f85a5d28878488a6 | [log] [tgz] |
---|---|---|
author | Lee Thomason (grinliz) <leethomason@gmail.com> | Sat Sep 08 21:21:00 2012 -0700 |
committer | Lee Thomason (grinliz) <leethomason@gmail.com> | Sat Sep 08 21:21:00 2012 -0700 |
tree | b1d956ac6565ef4a7decee08a14c1b46b0357f3e | |
parent | b476109083a2a50035789589e36ddd311bb0b86e [diff] [blame] |
added test case for compact save
diff --git a/xmltest.cpp b/xmltest.cpp index 81018aa..5077c25 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -296,6 +296,8 @@ 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; } {