Skip to content

Commit 29e16c1

Browse files
committed
formats new downloader function test
1 parent ba4a238 commit 29e16c1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

internal/download/downloader_test.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -651,29 +651,29 @@ func zipArchiveReaderForTesting(files map[string]string) (*bytes.Reader, error)
651651
func Test_downloadBinary(t *testing.T) {
652652
type args struct {
653653
targetDir string
654-
read string
655-
size string
654+
read string
655+
size string
656656
}
657657
tests := []struct {
658658
name string
659659
args args
660660
wantErr bool
661-
} {
661+
}{
662662
{
663-
name: "test fail read of binary",
663+
name: "test fail read of binary",
664664
args: args{
665665
targetDir: filepath.Join(testdataPath(), "null-file"),
666-
read: "",
667-
size: "",
666+
read: "",
667+
size: "",
668668
},
669669
wantErr: true,
670670
},
671671
{
672-
name: "test fail write of binary",
672+
name: "test fail write of binary",
673673
args: args{
674674
targetDir: filepath.Join(testdataPath(), "test", "foo"),
675-
read: "",
676-
size: "",
675+
read: "",
676+
size: "",
677677
},
678678
wantErr: true,
679679
},
@@ -698,4 +698,4 @@ func Test_downloadBinary(t *testing.T) {
698698
}
699699
})
700700
}
701-
}
701+
}

0 commit comments

Comments
 (0)