mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
15 lines
238 B
Go
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)
|
|
}
|