Skip to content

Commit

Permalink
formats new downloader function test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbrgs committed Oct 25, 2023
1 parent ba4a238 commit 29e16c1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions internal/download/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,29 +651,29 @@ func zipArchiveReaderForTesting(files map[string]string) (*bytes.Reader, error)
func Test_downloadBinary(t *testing.T) {
type args struct {
targetDir string
read string
size string
read string
size string
}
tests := []struct {
name string
args args
wantErr bool
} {
}{
{
name: "test fail read of binary",
name: "test fail read of binary",
args: args{
targetDir: filepath.Join(testdataPath(), "null-file"),
read: "",
size: "",
read: "",
size: "",
},
wantErr: true,
},
{
name: "test fail write of binary",
name: "test fail write of binary",
args: args{
targetDir: filepath.Join(testdataPath(), "test", "foo"),
read: "",
size: "",
read: "",
size: "",
},
wantErr: true,
},
Expand All @@ -698,4 +698,4 @@ func Test_downloadBinary(t *testing.T) {
}
})
}
}
}

0 comments on commit 29e16c1

Please sign in to comment.