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:
parent
b72e2bc27e
commit
f1f04d809d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user