Unverified Commit db5d4032 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #7 from ipfs/feat/remove-unixfs-dependency

Remove dependencies to go-unixfs
parents f4ff9597 d416a143
Pipeline #215 failed with stages
in 0 seconds
......@@ -11,7 +11,6 @@ import (
offroute "github.com/ipfs/go-ipfs-routing/offline"
ipns "github.com/ipfs/go-ipns"
path "github.com/ipfs/go-path"
unixfs "github.com/ipfs/go-unixfs"
opts "github.com/ipfs/interface-go-ipfs-core/options/namesys"
ci "github.com/libp2p/go-libp2p-core/crypto"
peer "github.com/libp2p/go-libp2p-core/peer"
......@@ -110,7 +109,8 @@ func TestPublishWithCache0(t *testing.T) {
})
nsys := NewNameSystem(routing, dst, 0)
p, err := path.ParsePath(unixfs.EmptyDirNode().Cid().String())
// CID is arbitrary.
p, err := path.ParsePath("QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn")
if err != nil {
t.Fatal(err)
}
......@@ -142,7 +142,8 @@ func TestPublishWithTTL(t *testing.T) {
})
nsys := NewNameSystem(routing, dst, 128)
p, err := path.ParsePath(unixfs.EmptyDirNode().Cid().String())
// CID is arbitrary.
p, err := path.ParsePath("QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn")
if err != nil {
t.Fatal(err)
}
......
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