From 72c2731f7b5f12b554af13fb7dedcb69f3384d59 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 6 Feb 2020 18:24:13 +0100 Subject: [PATCH] Update step_download_test.go --- common/step_download_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/step_download_test.go b/common/step_download_test.go index b7e297b37..fdf50e43a 100644 --- a/common/step_download_test.go +++ b/common/step_download_test.go @@ -258,7 +258,7 @@ func TestStepDownload_download(t *testing.T) { // Abs path with extension provided step.TargetPath = "./packer" step.Extension = "ova" - path, err := step.download(context.TODO(), ui, "./test-fixtures/root/basic.txt") + _, err := step.download(context.TODO(), ui, "./test-fixtures/root/basic.txt") if err != nil { t.Fatalf("Bad: non expected error %s", err.Error()) } @@ -269,7 +269,7 @@ func TestStepDownload_download(t *testing.T) { // Abs path with no extension provided step.TargetPath = "./packer" step.Extension = "" - path, err = step.download(context.TODO(), ui, "./test-fixtures/root/basic.txt") + _, err = step.download(context.TODO(), ui, "./test-fixtures/root/basic.txt") if err != nil { t.Fatalf("Bad: non expected error %s", err.Error()) }