Merge pull request #29260 from lixiaobing10051267/masterErr

Automatic merge from submit-queue

Modify err output format from %s to %v

t.Errorf err output format should be %v
This commit is contained in:
k8s-merge-robot 2016-07-20 11:11:46 -07:00 committed by GitHub
commit a0da4153b6

View File

@ -606,7 +606,7 @@ func TestList(t *testing.T) {
for _, item := range table {
result, err := aws.List(item.input)
if err != nil {
t.Errorf("Expected call with %v to succeed, failed with %s", item.input, err)
t.Errorf("Expected call with %v to succeed, failed with %v", item.input, err)
}
if e, a := item.expect, result; !reflect.DeepEqual(e, a) {
t.Errorf("Expected %v, got %v", e, a)