Skip to content

Commit 84023ea

Browse files
committed
adds back bold font for matched arguments, was lost while refactored
1 parent f8334bc commit 84023ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmt_pretty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (f *pretty) printStep(step *gherkin.Step, def *StepDef, c colors.ColorFunc)
226226
if math.Mod(float64(i), 2) == 0 {
227227
text += c(step.Text[pos:m[i]])
228228
} else {
229-
text += c(step.Text[pos:m[i]])
229+
text += colors.Bold(c)(step.Text[pos:m[i]])
230230
}
231231
pos = m[i]
232232
}

0 commit comments

Comments
 (0)