Skip to content

Commit f1becb5

Browse files
committed
Merge pull request #44 from JakeGinnivan/FixHtmlReporterIssue
Fixed #36
2 parents f1d0b2d + 23463a5 commit f1becb5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

TestStack.ConventionTests/Reporting/HtmlConventionResultsReporter.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ protected override string Process(IConventionFormatContext context, IEnumerable<
5252
{
5353
html.RenderBeginTag(HtmlTextWriterTag.Div);
5454
html.AddAttribute("style", "margin-left:20px;border-bottom: 1px solid");
55+
5556
html.RenderBeginTag(HtmlTextWriterTag.H2);
5657
html.Write("Conventions for '<strong>{0}</strong>'", conventionReport.Key);
5758
html.RenderEndTag();
59+
5860
foreach (var conventionResult in conventionReport)
5961
{
6062
var targetId =
@@ -90,18 +92,18 @@ protected override string Process(IConventionFormatContext context, IEnumerable<
9092
html.RenderEndTag();
9193
html.RenderEndTag();
9294
}
93-
94-
html.RenderEndTag();
9595
}
9696
html.RenderEndTag();
9797
}
9898

9999
html.AddAttribute("src", "http://code.jquery.com/jquery.js");
100100
html.RenderBeginTag(HtmlTextWriterTag.Script);
101101
html.RenderEndTag();
102+
102103
html.AddAttribute("src", "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js");
103104
html.RenderBeginTag(HtmlTextWriterTag.Script);
104105
html.RenderEndTag();
106+
105107
html.RenderEndTag(); // </body>
106108
html.RenderEndTag(); // </html>
107109
html.Flush();

0 commit comments

Comments
 (0)