summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-12-18 22:40:36 +1100
committerJesse Duffield <jessedduffield@gmail.com>2018-12-18 22:40:36 +1100
commit7835fce7084632ba93ea5f95c20d4cdfbeb526e6 (patch)
treeafc2cd8205a1d9c71fd450693c95e05b8fc515b5
parent535152e15ec84a2bcca0f7685f092903b35f005a (diff)
fix tests
-rw-r--r--pkg/commands/git_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index 2302391ec..3dcb7798d 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -1010,7 +1010,7 @@ func TestGitCommandPush(t *testing.T) {
},
false,
func(err error) {
- assert.Contains(t, err.Error(), "exit status 1")
+ assert.Contains(t, err.Error(), "error: failed to push some refs")
},
},
{
@@ -1023,7 +1023,7 @@ func TestGitCommandPush(t *testing.T) {
},
true,
func(err error) {
- assert.Contains(t, err.Error(), "exit status 1")
+ assert.Contains(t, err.Error(), "error: failed to push some refs")
},
},
{
@@ -1035,7 +1035,7 @@ func TestGitCommandPush(t *testing.T) {
},
false,
func(err error) {
- assert.Contains(t, err.Error(), "exit status 1")
+ assert.Contains(t, err.Error(), "error: failed to push some refs")
},
},
}