Этот коммит содержится в:
gedi 2018-10-27 19:09:36 +03:00
родитель 5dcffa2210
коммит d9b8b88dd7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 56604CDCCC201556

Просмотреть файл

@ -113,6 +113,8 @@ func (f *pretty) printUndefinedScenario(sc *gherkin.Scenario) {
f.printStep(step, nil, colors.Cyan) f.printStep(step, nil, colors.Cyan)
} }
} }
f.commentPos = f.longestStep(sc.Steps, f.length(sc))
text := s(f.indent) + whiteb(f.scenario.Keyword+": ") + sc.Name text := s(f.indent) + whiteb(f.scenario.Keyword+": ") + sc.Name
text += s(f.commentPos-f.length(f.scenario)+1) + f.line(sc.Location) text += s(f.commentPos-f.length(f.scenario)+1) + f.line(sc.Location)
fmt.Fprintln(f.out, "\n"+text) fmt.Fprintln(f.out, "\n"+text)