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

fixed for detached heads

This commit is contained in:
Carlos Alexandro Becker 2017-09-26 19:02:18 -03:00
parent b72e2bc27e
commit f1f04d809d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -10,7 +10,7 @@ func TestGit(t *testing.T) {
var assert = assert.New(t)
out, err := Run("status")
assert.NoError(err)
assert.Contains(out, "On branch")
assert.NotEmpty(out)
out, err = Run("command-that-dont-exist")
assert.Error(err)