Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kifen committed Jan 6, 2020
1 parent f618455 commit a327b68
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/skysocks/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit a327b68

Please sign in to comment.