Merge pull request #41 from shawnps/patch-1

fix wrong number of args for format in Errorf call
This commit is contained in:
Brad Fitzpatrick 2015-01-25 10:08:32 -08:00
commit 604ed57851

View File

@ -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)