Skip to content

Commit

Permalink
Merge pull request #41 from shawnps/patch-1
Browse files Browse the repository at this point in the history
fix wrong number of args for format in Errorf call
  • Loading branch information
bradfitz committed Jan 25, 2015
2 parents 86ced4a + c6017b7 commit 604ed57
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 604ed57

Please sign in to comment.