mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-09 17:22:21 +08:00
fix validators and key prefix
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"testing"
|
||||
|
||||
crand "crypto/rand"
|
||||
|
||||
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
|
||||
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
|
||||
|
||||
@ -199,9 +200,6 @@ func TestGetFailures(t *testing.T) {
|
||||
if pmes.GetRecord() != nil {
|
||||
t.Fatal("shouldnt have value")
|
||||
}
|
||||
if len(pmes.GetCloserPeers()) > 0 {
|
||||
t.Fatal("shouldnt have closer peers")
|
||||
}
|
||||
if pmes.GetProviderPeers() != nil {
|
||||
t.Fatal("shouldnt have provider peers")
|
||||
}
|
||||
|
Reference in New Issue
Block a user