Skip to content

Commit

Permalink
chore: remove redundant assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Jul 26, 2024
1 parent 3c1ca60 commit e26e0dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package main

import (
"context"
"testing"
"time"

"github.com/aschmahmann/ipfs-check/test"
bsnet "github.com/ipfs/boxo/bitswap/network"
bsserver "github.com/ipfs/boxo/bitswap/server"
Expand All @@ -20,8 +23,6 @@ import (
"github.com/libp2p/go-libp2p/p2p/net/connmgr"
"github.com/multiformats/go-multihash"
"github.com/stretchr/testify/require"
"testing"
"time"
)

func TestBasicIntegration(t *testing.T) {
Expand Down Expand Up @@ -142,7 +143,6 @@ func TestBasicIntegration(t *testing.T) {
mh, err := multihash.Sum(testData, multihash.SHA2_256, -1)
require.NoError(t, err)
testCid := cid.NewCidV1(cid.Raw, mh)
require.NoError(t, err)
err = dhtClient.Provide(ctx, testCid, true)
require.NoError(t, err)

Expand Down

0 comments on commit e26e0dd

Please sign in to comment.