Skip to content

Commit

Permalink
MNT-24250: 2.7.3-alfresco.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel-608 committed Mar 12, 2024
1 parent 0ed14f2 commit 5b7a416
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ public void testImportXMLDocument() throws Exception
log.info("XSLT Processor output: " + output);
String x = "<html>\n<body>\n<h2>My CD Collection</h2>\n<table border=\"1\">\n<tr bgcolor=\"#9acd32\">\n<th>Title</th><th>Artist</th>\n</tr>\n<tr>\n<td></td><td></td>\n</tr>\n</table>\n</body>\n</html>\n".replace("\n", "");
Diff myDiff = new Diff(x, output.replace(" ", "").replace("\n", ""));
System.out.println("Pieces of XML are similar " + myDiff + "\n\noutput: " + output + "\n\n" + "expected: " + x);

Check warning

Code scanning / PMD

Usage of System.out/err Warning test

Usage of System.out/err
assertTrue("Pieces of XML are similar " + myDiff + "\n\noutput: " + output + "\n\n" + "expected: " + x, myDiff.similar());
}
catch (Exception ex)
Expand Down

0 comments on commit 5b7a416

Please sign in to comment.