瀏覽代碼

Test document had content to clear

Dmitry-Me 11 年之前
父節點
當前提交
aaa4ceab5e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      xmltest.cpp

+ 1 - 0
xmltest.cpp

@@ -1168,6 +1168,7 @@ int main( int argc, const char ** argv )
     {
         XMLDocument doc;
         doc.LoadFile( "resources/dream.xml" );
+        XMLTest( "Document has something to Clear()", doc.NoChildren(), false );
         doc.Clear();
         XMLTest( "Document Clear()'s", doc.NoChildren(), true );
     }