mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Remove annoying sprintf warning
This commit is contained in:
parent
2d0fa78f2f
commit
517a0b0818
@ -2257,7 +2257,7 @@ func TestDescribeJob(t *testing.T) {
|
|||||||
if !strings.Contains(out, fmt.Sprintf("Completed Indexes: %s\n", tc.wantCompletedIndexes)) {
|
if !strings.Contains(out, fmt.Sprintf("Completed Indexes: %s\n", tc.wantCompletedIndexes)) {
|
||||||
t.Errorf("Output didn't contain wanted Completed Indexes:\n%s", out)
|
t.Errorf("Output didn't contain wanted Completed Indexes:\n%s", out)
|
||||||
}
|
}
|
||||||
} else if strings.Contains(out, fmt.Sprintf("Completed Indexes:")) {
|
} else if strings.Contains(out, "Completed Indexes:") {
|
||||||
t.Errorf("Output contains unexpected completed indexes:\n%s", out)
|
t.Errorf("Output contains unexpected completed indexes:\n%s", out)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user