1
0
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:
Jeromy
2014-11-10 14:22:56 -08:00
committed by Juan Batiz-Benet
parent 33985c530e
commit cb23d5b2ae
4 changed files with 26 additions and 16 deletions

View File

@ -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")
}