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

fixed env test assuming github token is set

This commit is contained in:
Carlos Alexandro Becker 2017-04-21 12:13:16 -03:00
parent 858b4d1318
commit e1b1bf28af
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -15,7 +15,7 @@ func TestDescription(t *testing.T) {
func TestValidEnv(t *testing.T) {
assert := assert.New(t)
assert.NoError(os.Setenv("GITHUB_TOKEN", "asdf"))
var ctx = &context.Context{
Config: config.Project{},
Validate: true,