mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
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:
commit
a0da4153b6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user