Skip to content

Commit

Permalink
Fix a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Mar 10, 2020
1 parent 0f8125b commit ecc2051
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/SkycoinProject/yamux"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/net/nettest"
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit ecc2051

Please sign in to comment.