From 6a18a3105c86461e69bdd879a0867dfb3bd9bc18 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 23 Mar 2018 21:09:13 +0300 Subject: [PATCH] Improve test message to avoid duplicate log output --- xmltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmltest.cpp b/xmltest.cpp index 90fdd8c..680c379 100644 --- a/xmltest.cpp +++ b/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);