From f2c8e8491ced7e0d110feec50af04793f9dd28c7 Mon Sep 17 00:00:00 2001 From: Moss Date: Tue, 4 Feb 2020 18:22:43 +0100 Subject: [PATCH] Fix format --- common/step_download_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/step_download_test.go b/common/step_download_test.go index a1cf1bb3a..1652597f3 100644 --- a/common/step_download_test.go +++ b/common/step_download_test.go @@ -272,7 +272,7 @@ func TestStepDownload_download(t *testing.T) { if err != nil { t.Fatalf("Bad: non expected error %s", err.Error()) } - if filepath.Ext(path) != "." + step.Extension { + if filepath.Ext(path) != "."+step.Extension { t.Fatalf("bad: path should contain extension %s but it was %s", step.Extension, filepath.Ext(path)) } os.RemoveAll(step.TargetPath)