adds back bold font for matched arguments, was lost while refactored

Этот коммит содержится в:
gedi 2017-02-10 21:47:55 +02:00
родитель f8334bc959
коммит 84023ead3e

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

@ -226,7 +226,7 @@ func (f *pretty) printStep(step *gherkin.Step, def *StepDef, c colors.ColorFunc)
if math.Mod(float64(i), 2) == 0 { if math.Mod(float64(i), 2) == 0 {
text += c(step.Text[pos:m[i]]) text += c(step.Text[pos:m[i]])
} else { } else {
text += c(step.Text[pos:m[i]]) text += colors.Bold(c)(step.Text[pos:m[i]])
} }
pos = m[i] pos = m[i]
} }