gherkin/types.go
func (f *Feature) LongestLine() int {
	if f.longestLine == 0 {
		f.longestLine = len("Feature: " + f.Title)
		for _, s := range f.Scenarios {
			if l := s.LongestLine(); l > f.longestLine {
				f.longestLine = l
			}
		}
	}
	return f.longestLine
}
func (f *Feature) LongestLine() int {
	if f.longestLine == 0 {
		f.longestLine = len("Feature: " + f.Title)
		for _, s := range f.Scenarios {
			if l := s.LongestLine(); l > f.longestLine {
				f.longestLine = l
			}
		}
	}
	return f.longestLine
}
func ( f * Feature ) LongestLine ( ) int { if f . longestLine == 0 { f . longestLine = len ( " " + f . Title ) for _ , s := range f . Scenarios { if l := s . LongestLine ( ) ; l > f . longestLine { f . longestLine = l } } } return f . longestLine }
// LongestLine returns the longest step line in a feature.
LongestLine returns the longest step line in a feature .