From 9be43f4bf3cfca495ad9d1460f0f7ad3eccc0f09 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 17 Jan 2017 10:22:30 +0100 Subject: [PATCH] fix socks auth test --- testing/scenarios/socks_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/scenarios/socks_test.go b/testing/scenarios/socks_test.go index 0f1b42451..79d861cca 100644 --- a/testing/scenarios/socks_test.go +++ b/testing/scenarios/socks_test.go @@ -271,7 +271,7 @@ func TestSocksConformance(t *testing.T) { } { - authDialer, err := xproxy.SOCKS5("tcp", v2net.TCPDestination(v2net.LocalHostIP, noAuthPort).NetAddr(), &xproxy.Auth{User: "Test Account", Password: "Test Password"}, xproxy.Direct) + authDialer, err := xproxy.SOCKS5("tcp", v2net.TCPDestination(v2net.LocalHostIP, authPort).NetAddr(), &xproxy.Auth{User: "Test Account", Password: "Test Password"}, xproxy.Direct) assert.Error(err).IsNil() conn, err := authDialer.Dial("tcp", dest.NetAddr()) assert.Error(err).IsNil()