From a327b689c782bd93a235fc937c73715f80306556 Mon Sep 17 00:00:00 2001 From: kifen Date: Mon, 6 Jan 2020 18:22:29 +0100 Subject: [PATCH] fix make check --- 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 123ed6f103..094f533779 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/hashicorp/yamux" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/net/nettest" @@ -50,13 +49,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() { errChan2 <- client.ListenAndServe(":10080")