diff --git a/bar_test.go b/bar_test.go index bc220e2..ee3255d 100644 --- a/bar_test.go +++ b/bar_test.go @@ -57,8 +57,8 @@ } } -func newTestState(total, current int64) state { - return state{ +func newTestState(total, current int64) *state { + return &state{ format: formatRunes{'[', '=', '>', '-', ']'}, total: total, current: current,