fix wrong number of args for format in Errorf call

This commit is contained in:
Shawn Smith 2015-01-25 16:07:57 +09:00
parent 86ced4a883
commit c6017b7e87

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)