Skip to content

Commit

Permalink
fix(lint): fix lint & imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Aug 20, 2020
1 parent c63b827 commit fa3a6f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions impl/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/filecoin-project/go-storedcounter"

datatransfer "github.com/filecoin-project/go-data-transfer"
"github.com/filecoin-project/go-data-transfer/encoding"
. "github.com/filecoin-project/go-data-transfer/impl"
Expand All @@ -35,7 +37,6 @@ import (
"github.com/filecoin-project/go-data-transfer/testutil"
tp "github.com/filecoin-project/go-data-transfer/transport/graphsync"
"github.com/filecoin-project/go-data-transfer/transport/graphsync/extension"
"github.com/filecoin-project/go-storedcounter"
)

func TestRoundTrip(t *testing.T) {
Expand Down Expand Up @@ -569,10 +570,11 @@ func TestRoundTripCancelledRequest(t *testing.T) {
t.Fatal("timer did not complete")
case <-timer.C:
if data.isPull {
dt1.CloseDataTransferChannel(ctx, chid)
err = dt1.CloseDataTransferChannel(ctx, chid)
} else {
dt2.CloseDataTransferChannel(ctx, chid)
err = dt2.CloseDataTransferChannel(ctx, chid)
}
require.NoError(t, err)
}
}()
}
Expand Down

0 comments on commit fa3a6f8

Please sign in to comment.