From 0b6f6303bb1483a2af4866abfa4279207c1646bd Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Tue, 23 May 2017 15:35:59 -0400 Subject: [PATCH] Fix t.Error when t.Errorf was intended --- spinner_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } }