diff --git a/bar_test.go b/bar_test.go index 9942c75..73536de 100644 --- a/bar_test.go +++ b/bar_test.go @@ -20,22 +20,22 @@ { termWidth: 3, barWidth: 60, - want: []byte{'[', ']'}, + want: []byte("[]"), }, { termWidth: 4, barWidth: 60, - want: []byte{'[', '>', ']'}, + want: []byte("[>]"), }, { termWidth: 5, barWidth: 60, - want: []byte{'[', '=', '>', ']'}, + want: []byte("[=>]"), }, { termWidth: 6, barWidth: 60, - want: []byte{'[', '=', '>', '-', ']'}, + want: []byte("[=>-]"), }, } @@ -55,7 +55,6 @@ tip: '>', leftEnd: '[', rightEnd: ']', - etaAlpha: 0.25, total: total, current: current, trimLeftSpace: true,