From d5ed15d99d9b5c375dc15b0a009c915ac4edc6f7 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 29 Mar 2021 10:59:42 +0200 Subject: plumbing: transport/ssh, fix no agent test on windows --- plumbing/transport/ssh/auth_method_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plumbing/transport/ssh') 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) { -- cgit