Modify err output format from %s to %v

This commit is contained in:
lixiaobing10051267 2016-07-20 15:06:47 +08:00
parent ad7ececcd0
commit e3bff25dbb

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)