Skip to content

Commit

Permalink
fix wrong number of args for format in Errorf call
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps committed Jan 25, 2015
1 parent 86ced4a commit c6017b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singleflight/singleflight_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestDoErr(t *testing.T) {
return nil, someErr
})
if err != someErr {
t.Errorf("Do error = %v; want someErr", err, someErr)
t.Errorf("Do error = %v; want someErr", err)
}
if v != nil {
t.Errorf("unexpected non-nil value %#v", v)
Expand Down

0 comments on commit c6017b7

Please sign in to comment.