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 e2f738c commit 1e6fee3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void testImportXMLDocument() throws Exception
String output = reader.getContentString();

log.debug("XSLT Processor output: " + output);
Diff myDiff = new Diff("<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", output);
Diff myDiff = new Diff("<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".replaceAll("\\s+",""), output.replaceAll("\\s+",""));
assertTrue("Pieces of XML are similar " + myDiff, myDiff.similar());
}
catch (Exception ex)
Expand Down

0 comments on commit 1e6fee3

Please sign in to comment.