Remove annoying sprintf warning

This commit is contained in:
Marcus Puckett 2022-02-02 11:06:05 -08:00
parent 2d0fa78f2f
commit 517a0b0818

View File

@ -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)
} }
}) })