Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c74955f

Browse filesBrowse files
committed
Fixed socks unit test failing in windows environment
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
1 parent 690fdf0 commit c74955f
Copy full SHA for c74955f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎plumbing/transport/ssh/common_test.go

Copy file name to clipboardExpand all lines: plumbing/transport/ssh/common_test.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (s *SuiteCommon) TestInvalidSocks5Proxy(c *C) {
191191
//Since the proxy server is not running, we expect an error.
192192
c.Assert(ps, IsNil)
193193
c.Assert(err, NotNil)
194-
c.Assert(err, ErrorMatches, "socks connect .* dial tcp 127.0.0.1:1080: connect: connection refused")
194+
c.Assert(err, ErrorMatches, "socks connect .* dial tcp 127.0.0.1:1080: .*")
195195
}
196196

197197
type mockSSHConfig struct {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.