Skip to content

Commit d9b8b88

Browse files
committed
closes #145
1 parent 5dcffa2 commit d9b8b88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fmt_pretty.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ func (f *pretty) printUndefinedScenario(sc *gherkin.Scenario) {
113113
f.printStep(step, nil, colors.Cyan)
114114
}
115115
}
116+
117+
f.commentPos = f.longestStep(sc.Steps, f.length(sc))
116118
text := s(f.indent) + whiteb(f.scenario.Keyword+": ") + sc.Name
117119
text += s(f.commentPos-f.length(f.scenario)+1) + f.line(sc.Location)
118120
fmt.Fprintln(f.out, "\n"+text)

0 commit comments

Comments
 (0)