Commit be9d9edc authored by Marten Seemann's avatar Marten Seemann

fix staticcheck

parent 4526ac26
......@@ -5,7 +5,7 @@ import (
"testing"
"time"
cid "github.com/ipfs/go-cid"
"github.com/ipfs/go-cid"
delay "github.com/ipfs/go-ipfs-delay"
u "github.com/ipfs/go-ipfs-util"
......@@ -44,8 +44,8 @@ func TestClientFindProviders(t *testing.T) {
providersFromClient := client.FindProvidersAsync(context.Background(), k, max)
isInClient := false
for pi := range providersFromClient {
if pi.ID == pi.ID { // <-- typo?
for p := range providersFromClient {
if p.ID == pi.ID() {
isInClient = true
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment