1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

test: blob defaults when no content disposition

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-05-09 22:15:23 -03:00
parent 3c0c7148fd
commit 12e8c22e12
No known key found for this signature in database

View File

@ -74,6 +74,10 @@ func TestDefaults(t *testing.T) {
IDs: []string{"foo", "bar"},
ContentDisposition: "inline",
},
{
Bucket: "foobar2",
Provider: "gcs",
},
{
Bucket: "foobar",
Provider: "gcs",
@ -97,6 +101,12 @@ func TestDefaults(t *testing.T) {
IDs: []string{"foo", "bar"},
ContentDisposition: "inline",
},
{
Bucket: "foobar2",
Provider: "gcs",
Directory: "{{ .ProjectName }}/{{ .Tag }}",
ContentDisposition: "attachment;filename={{.Filename}}",
},
{
Bucket: "foobar",
Provider: "gcs",