diff --git a/common/download_test.go b/common/download_test.go index fc0a4125837..1e5c3160ea1 100644 --- a/common/download_test.go +++ b/common/download_test.go @@ -185,7 +185,7 @@ func TestDownloadClient_notFound(t *testing.T) { client := NewDownloadClient(&DownloadConfig{ Url: ts.URL + "/not-found.txt", TargetPath: tf.Name(), - }) + }, *pb.New64(0)) if _, err := client.Get(); err == nil { t.Fatal("should error")