diff --git a/pipeline/git/git_test.go b/pipeline/git/git_test.go index 7e304fdc2..7d34cce58 100644 --- a/pipeline/git/git_test.go +++ b/pipeline/git/git_test.go @@ -9,7 +9,6 @@ import ( "github.com/goreleaser/goreleaser/config" "github.com/goreleaser/goreleaser/context" "github.com/goreleaser/goreleaser/internal/testlib" - "github.com/goreleaser/goreleaser/pipeline/defaults" "github.com/stretchr/testify/assert" ) @@ -57,7 +56,7 @@ func TestNoTagsSnapshot(t *testing.T) { var ctx = &context.Context{ Config: config.Project{ Snapshot: config.Snapshot{ - NameTemplate: defaults.SnapshotNameTemplate, + NameTemplate: "SNAPSHOT-{{.Commit}}", }, }, Snapshot: true, @@ -95,7 +94,7 @@ func TestNoTagsNoSnapshot(t *testing.T) { var ctx = &context.Context{ Config: config.Project{ Snapshot: config.Snapshot{ - NameTemplate: defaults.SnapshotNameTemplate, + NameTemplate: "SNAPSHOT-{{.Commit}}", }, }, Snapshot: false,