Skip to content

Commit

Permalink
Merge pull request #46 from slippycheeze/patch-1
Browse files Browse the repository at this point in the history
Fix t.Error when t.Errorf was intended
  • Loading branch information
briandowns authored May 24, 2017
2 parents fb621c2 + 0b6f630 commit 93dec67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 93dec67

Please sign in to comment.