mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-12 18:18:51 +00:00
fix arg type error in printf
This commit is contained in:
@@ -387,7 +387,7 @@ func TestTransform(t *testing.T) {
|
|||||||
t.Errorf("[%d] unexpected error during Transform: %v", i, err)
|
t.Errorf("[%d] unexpected error during Transform: %v", i, err)
|
||||||
}
|
}
|
||||||
if result.Empty() != tc.isEmpty {
|
if result.Empty() != tc.isEmpty {
|
||||||
t.Errorf("[%d] expected empty: %t, got: %t", i, tc.isEmpty, result.Empty)
|
t.Errorf("[%d] expected empty: %t, got: %t", i, tc.isEmpty, result.Empty())
|
||||||
}
|
}
|
||||||
if result.String() != tc.result {
|
if result.String() != tc.result {
|
||||||
t.Errorf("[%d] unexpected result: %s", i, result.String())
|
t.Errorf("[%d] unexpected result: %s", i, result.String())
|
||||||
|
Reference in New Issue
Block a user