storage/app: fix fmt format errors causing vet failures during test
Change-Id: Ifa0a8e0ca265c0b96c039a6454d47b873ab25c54
Reviewed-on: https://go-review.googlesource.com/80142
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/storage/app/query_test.go b/storage/app/query_test.go
index 15c5274..07e7c44 100644
--- a/storage/app/query_test.go
+++ b/storage/app/query_test.go
@@ -73,13 +73,13 @@
}
r := br.Result()
if r.Labels["upload"] != status.UploadID {
- t.Errorf("#%d: upload = %q, want %q", r.Labels["upload"], status.UploadID)
+ t.Errorf("#%d: upload = %q, want %q", i, r.Labels["upload"], status.UploadID)
}
if r.Labels["upload-part"] != status.FileIDs[0] {
- t.Errorf("#%d: upload-part = %q, want %q", r.Labels["upload-part"], status.FileIDs[0])
+ t.Errorf("#%d: upload-part = %q, want %q", i, r.Labels["upload-part"], status.FileIDs[0])
}
if r.Labels["upload-file"] != "1.txt" {
- t.Errorf("#%d: upload-file = %q, want %q", r.Labels["upload-file"], "1.txt")
+ t.Errorf("#%d: upload-file = %q, want %q", i, r.Labels["upload-file"], "1.txt")
}
if r.Labels["label0"] != fmt.Sprintf("%d", num) {
t.Errorf("#%d: label0 = %q, want %d", i, r.Labels["label0"], num)