Author: enorman Date: Sun Nov 13 19:43:29 2011 New Revision: 1201491 URL: http://svn.apache.org/viewvc?rev=1201491&view=rev Log: SLING-2270 Junit Core HtmlRenderer outputs invalid HTML Apply patch by Brian Riggs (Many thanks)
Modified: sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/HtmlRenderer.java Modified: sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/HtmlRenderer.java URL: http://svn.apache.org/viewvc/sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/HtmlRenderer.java?rev=1201491&r1=1201490&r2=1201491&view=diff ============================================================================== --- sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/HtmlRenderer.java (original) +++ sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/impl/servlet/HtmlRenderer.java Sun Nov 13 19:43:29 2011 @@ -142,7 +142,7 @@ public class HtmlRenderer extends RunLis super.testFinished(description); output.print("<p class='finished'>Test finished: "); HtmlFilter.escape(output, description.toString()); - output.println("</p>"); + output.println("</p></div>"); } @Override