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

15 lines
238 B
Go

package context
import (
"testing"
"github.com/goreleaser/goreleaser/config"
"github.com/tj/assert"
)
func TestNew(t *testing.T) {
var ctx = New(config.Project{})
assert.NotEmpty(t, ctx.Env)
assert.Equal(t, 4, ctx.Parallelism)
}