From e26e0dd5cd204c90b8aba5f5e82e7a51c90d32d8 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Fri, 26 Jul 2024 15:07:37 +0200 Subject: [PATCH] chore: remove redundant assertion --- integration_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_test.go b/integration_test.go index 517fe99..be71ce5 100644 --- a/integration_test.go +++ b/integration_test.go @@ -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" @@ -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) { @@ -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)