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

Revert "fix: dont compile without go:generate"

This reverts commit 6135c9f2bdd562439c93e86f55b22b6ec8d4d39b.
This commit is contained in:
Carlos Alexandro Becker 2017-12-18 09:49:49 -02:00
parent 6135c9f2bd
commit ca0b59633c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,6 @@
package artifact
import (
"fmt"
"sync"
"github.com/apex/log"
@ -12,9 +11,6 @@ import (
//go:generate stringer -type=Type
type Type int
// ensure Type implements the stringer interface...
var _ fmt.Stringer = Type(0)
const (
// UploadableArchive a tar.gz/zip archive to be uploaded
UploadableArchive Type = iota

View File

@ -1,12 +1,16 @@
package artifact
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
"golang.org/x/sync/errgroup"
)
// ensure Type implements the stringer interface...
var _ fmt.Stringer = Type(0)
func TestAdd(t *testing.T) {
var g errgroup.Group
var artifacts = New()