Skip to content

Commit dc80f5d

Browse files
committed
Merge pull request #200 from VanDesu/master
Enabled single example for example tables in HTML report
2 parents fae0710 + fb8288e commit dc80f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestStack.BDDfy/Reporters/Html/ClassicReportBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private void AddScenario(Scenario[] scenarioGroup)
175175
{
176176
using (OpenTag(string.Format("<div class='scenario'>"), HtmlTag.div))
177177
{
178-
if (scenarioGroup.Count() == 1)
178+
if (scenarioGroup.First().Example == null)
179179
AddScenario(scenarioGroup.Single());
180180
else
181181
AddScenarioWithExamples(scenarioGroup);

0 commit comments

Comments
 (0)