Skip to content

Commit

Permalink
Improve test message to avoid duplicate log output
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry-Me committed Mar 23, 2018
1 parent 0741941 commit 6a18a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmltest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a18a31

Please sign in to comment.