1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/context/context_test.go

15 lines
238 B
Go
Raw Normal View History

2017-04-14 17:15:51 +02:00
package context
import (
"testing"
"github.com/goreleaser/goreleaser/config"
"github.com/tj/assert"
2017-04-14 17:15:51 +02:00
)
func TestNew(t *testing.T) {
var ctx = New(config.Project{})
assert.NotEmpty(t, ctx.Env)
assert.Equal(t, 4, ctx.Parallelism)
2017-07-02 02:34:32 +02:00
}