diff --git a/spinner_test.go b/spinner_test.go index 6319140..558d85c 100644 --- a/spinner_test.go +++ b/spinner_test.go @@ -49,7 +49,7 @@ func TestNew(t *testing.T) { for i := 0; i < len(CharSets); i++ { s := New(CharSets[i], 1*time.Second) if reflect.TypeOf(s).String() != "*spinner.Spinner" { - t.Error("New returned incorrect type kind=%d",i) + t.Errorf("New returned incorrect type kind=%d",i) } } }