diff --git a/draw_test.go b/draw_test.go index 9b69d5c3..956dc80f 100644 --- a/draw_test.go +++ b/draw_test.go @@ -621,6 +621,13 @@ func TestDrawDefault(t *testing.T) { current: 1, want: " [>-----------------------------------------------------------------------------------------------] ", }, + { + style: BarStyle().Tip(""), + name: "t,c{100,1}empty_tip", + total: 100, + current: 1, + want: " [=-----------------------------------------------------------------------------------------------] ", + }, { style: BarStyle(), name: "t,c{100,1}trim", @@ -636,6 +643,13 @@ func TestDrawDefault(t *testing.T) { current: 99, want: " [==============================================================================================>-] ", }, + { + style: BarStyle().Tip(""), + name: "t,c{100,99}empty_tip", + total: 100, + current: 99, + want: " [===============================================================================================-] ", + }, { style: BarStyle(), name: "t,c{100,99}trim",