Commit e3bff25d authored by lixiaobing10051267's avatar lixiaobing10051267

Modify err output format from %s to %v

parent ad7ececc
...@@ -606,7 +606,7 @@ func TestList(t *testing.T) { ...@@ -606,7 +606,7 @@ func TestList(t *testing.T) {
for _, item := range table { for _, item := range table {
result, err := aws.List(item.input) result, err := aws.List(item.input)
if err != nil { 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) { if e, a := item.expect, result; !reflect.DeepEqual(e, a) {
t.Errorf("Expected %v, got %v", e, a) t.Errorf("Expected %v, got %v", e, a)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment