summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-12-14 13:40:29 +0100
committermjarkk <mkopenga@gmail.com>2018-12-14 13:40:29 +0100
commit0fca27d0221cba90afe2ac3d8dcb85a7dd6f1e8b (patch)
treeb0925b92602d3ffe1d374e8bdc2309c2bb18779c /pkg
parent5d038dfd334d4bdd767ac4db504a21160a013f79 (diff)
Tried to fix circleci
Diffstat (limited to 'pkg')
-rw-r--r--pkg/commands/git_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index 7d0a503d7..7d29f6889 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -1031,12 +1031,12 @@ func TestGitCommandPush(t *testing.T) {
func(cmd string, args ...string) *exec.Cmd {
assert.EqualValues(t, "git", cmd)
assert.EqualValues(t, []string{"push", "-u", "origin", "test"}, args)
-
return exec.Command("test")
},
false,
func(err error) {
- assert.Equal(t, "exit status 128", err.Error())
+
+ assert.Contains(t, "exit status 1", err.Error())
},
},
}