From b19b4344f15eaf59557686ef112a5cdb67f9b9a8 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Sat, 21 Jul 2018 14:45:15 -0500 Subject: [PATCH] Missed the addition of the ProgressBar argument to a call to NewDownloadClient in the download tests due to missing it during the rebase. --- common/download_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")