diff --git a/repository/src/test/java/org/alfresco/repo/rendition/executer/XSLTRenderingEngineTest.java b/repository/src/test/java/org/alfresco/repo/rendition/executer/XSLTRenderingEngineTest.java
index 806ce3654ee..98d89f3bd5e 100644
--- a/repository/src/test/java/org/alfresco/repo/rendition/executer/XSLTRenderingEngineTest.java
+++ b/repository/src/test/java/org/alfresco/repo/rendition/executer/XSLTRenderingEngineTest.java
@@ -253,11 +253,9 @@ public void testImportXMLDocument() throws Exception
assertNotNull(reader);
String output = reader.getContentString();
- log.info("XSLT Processor output: " + output);
- String x = "\n
\nMy CD Collection
\n\n\nTitle | Artist | \n
\n\n | | \n
\n
\n\n\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);
- assertTrue("Pieces of XML are similar " + myDiff + "\n\noutput: " + output + "\n\n" + "expected: " + x, myDiff.similar());
+ log.debug("XSLT Processor output: " + output);
+ Diff myDiff = new Diff("\n\nMy CD Collection
\n\n\nTitle | Artist | \n
\n\n | | \n
\n
\n\n\n", output);
+ assertTrue("Pieces of XML are similar " + myDiff, myDiff.similar());
}
catch (Exception ex)
{