diff --git a/distribution/xfer/download_test.go b/distribution/xfer/download_test.go index ced9575fb0..208fc2477d 100644 --- a/distribution/xfer/download_test.go +++ b/distribution/xfer/download_test.go @@ -379,7 +379,7 @@ func TestMaxDownloadAttempts(t *testing.T) { name: "max-attempts=5, fail at 6th attempt", simulateRetries: 6, maxDownloadAttempts: 5, - expectedErr: "simulating download attempt 5/6", + expectedErr: "simulating download attempt 6/6", }, { name: "max-attempts=0, fail after 1 attempt",