From ecc2051bdf311606b2d45cef3ca8f0df6ba55076 Mon Sep 17 00:00:00 2001 From: Nikita Kryuchkov Date: Tue, 10 Mar 2020 10:26:46 +0100 Subject: [PATCH] Fix a failing test --- internal/skysocks/server_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/internal/skysocks/server_test.go b/internal/skysocks/server_test.go index e2051f8e7..715968849 100644 --- a/internal/skysocks/server_test.go +++ b/internal/skysocks/server_test.go @@ -11,7 +11,6 @@ import ( "time" "github.com/SkycoinProject/skycoin/src/util/logging" - "github.com/SkycoinProject/yamux" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/net/nettest" @@ -54,13 +53,9 @@ func TestProxy(t *testing.T) { conn, err := net.Dial("tcp", l.Addr().String()) require.NoError(t, err) - session, err := yamux.Client(conn, nil) + client, err := NewClient(conn) require.NoError(t, err) - client := &Client{ - session: session, - } - errChan2 := make(chan error) go func() {