From 4b953c6733f03f36e4b814253f76ee9e5c597702 Mon Sep 17 00:00:00 2001 From: hgouchet Date: Sun, 30 Sep 2018 13:42:48 +0200 Subject: [PATCH] unconvert --- fmt_progress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt_progress.go b/fmt_progress.go index a63e474..dbbf32c 100644 --- a/fmt_progress.go +++ b/fmt_progress.go @@ -47,7 +47,7 @@ func (f *progress) Feature(ft *gherkin.Feature, p string, c []byte) { func (f *progress) Summary() { left := math.Mod(float64(f.steps), float64(f.stepsPerRow)) if left != 0 { - if int(f.steps) > f.stepsPerRow { + if f.steps > f.stepsPerRow { fmt.Fprintf(f.out, s(f.stepsPerRow-int(left))+fmt.Sprintf(" %d\n", f.steps)) } else { fmt.Fprintf(f.out, " %d\n", f.steps)