Просмотр исходного кода

Improve test message to avoid duplicate log output

Dmitry-Me 8 лет назад
Родитель
Сommit
6a18a3105c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      xmltest.cpp

+ 1 - 1
xmltest.cpp

@@ -1957,7 +1957,7 @@ int main( int argc, const char ** argv )
 	    doc.Parse(xml1);
 	    XMLTest("Test that the second declaration is allowed", false, doc.Error() );
 	    doc.Parse(xml2);
-	    XMLTest("Test that declaration after a child is not allowed", XML_ERROR_PARSING_DECLARATION, doc.ErrorID() );
+	    XMLTest("Test that declaration after self-closed child is not allowed", XML_ERROR_PARSING_DECLARATION, doc.ErrorID() );
 	    doc.Parse(xml3);
 	    XMLTest("Test that declaration after a child is not allowed", XML_ERROR_PARSING_DECLARATION, doc.ErrorID() );
 	    doc.Parse(xml4);