1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-01 00:54:57 +02:00
Files
goreleaser/context/context_test.go

15 lines
238 B
Go
Raw Normal View History

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