Skip to content

Commit

Permalink
plumbing: transport/ssh, fix no agent test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuadros committed Mar 29, 2021
1 parent b0ef4d4 commit d5ed15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plumbing/transport/ssh/auth_method_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (s *SuiteCommon) TestNewSSHAgentAuthNoAgent(c *C) {

k, err := NewSSHAgentAuth("foo")
c.Assert(k, IsNil)
c.Assert(err, ErrorMatches, ".*SSH_AUTH_SOCK.*|.*SSH agent .* not running.*")
c.Assert(err, ErrorMatches, ".*SSH_AUTH_SOCK.*|.*SSH agent .* not detect.*")
}

func (*SuiteCommon) TestNewPublicKeys(c *C) {
Expand Down

0 comments on commit d5ed15d

Please sign in to comment.