aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-03-29 10:59:42 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2021-03-29 10:59:42 +0200
commitd5ed15d99d9b5c375dc15b0a009c915ac4edc6f7 (patch)
treec21978ff0cc3a69e454ef6fb5672cbdbf9adeeb3
parentb0ef4d48c42c80f4781dd9a3fcc9d1487c593062 (diff)
downloadgo-git-d5ed15d99d9b5c375dc15b0a009c915ac4edc6f7.tar.gz
plumbing: transport/ssh, fix no agent test on windowsv5.3.0
-rw-r--r--plumbing/transport/ssh/auth_method_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/ssh/auth_method_test.go b/plumbing/transport/ssh/auth_method_test.go
index 0cde61e..2cbcded 100644
--- a/plumbing/transport/ssh/auth_method_test.go
+++ b/plumbing/transport/ssh/auth_method_test.go
@@ -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) {