diff --git a/draw_test.go b/draw_test.go index 3204193..e7deb67 100644 --- a/draw_test.go +++ b/draw_test.go @@ -351,11 +351,7 @@ s.total = tc.total s.current = tc.current s.trimSpace = tc.trim - if tc.refill > 0 { - if f, ok := s.filler.(interface{ SetRefill(int64) }); ok { - f.SetRefill(tc.refill) - } - } + s.refill = tc.refill tmpBuf.Reset() tmpBuf.ReadFrom(s.draw(newStatistics(tw, s))) by := tmpBuf.Bytes()