File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010 "testing"
1111
1212 "github.com/ipfs/go-cid"
13- u "github.com/ipfs/go-ipfs-util"
13+ ipfsutil "github.com/ipfs/go-ipfs-util"
1414 "github.com/ipfs/go-unixfsnode"
1515 dagpb "github.com/ipld/go-codec-dagpb"
1616 "github.com/ipld/go-ipld-prime"
@@ -43,7 +43,7 @@ func TestBuildUnixFSFileWrappedInDirectory_Reference(t *testing.T) {
4343 for _ , tc := range referenceTestCases {
4444 t .Run (strconv .Itoa (tc .size ), func (t * testing.T ) {
4545 buf := make ([]byte , tc .size )
46- u .NewSeededRand (0xdeadbeef ).Read (buf )
46+ ipfsutil .NewSeededRand (0xdeadbeef ).Read (buf )
4747 r := bytes .NewReader (buf )
4848
4949 ls := cidlink .DefaultLinkSystem ()
Original file line number Diff line number Diff line change 77 "testing"
88
99 "github.com/ipfs/go-cid"
10- u "github.com/ipfs/go-ipfs-util"
10+ ipfsutil "github.com/ipfs/go-ipfs-util"
1111 "github.com/ipfs/go-unixfsnode/file"
1212 dagpb "github.com/ipld/go-codec-dagpb"
1313 "github.com/ipld/go-ipld-prime"
@@ -50,7 +50,7 @@ func TestBuildUnixFSFile_Reference(t *testing.T) {
5050 for _ , tc := range referenceTestCases {
5151 t .Run (strconv .Itoa (tc .size ), func (t * testing.T ) {
5252 buf := make ([]byte , tc .size )
53- u .NewSeededRand (0xdeadbeef ).Read (buf )
53+ ipfsutil .NewSeededRand (0xdeadbeef ).Read (buf )
5454 r := bytes .NewReader (buf )
5555
5656 ls := cidlink .DefaultLinkSystem ()
@@ -74,7 +74,7 @@ func TestBuildUnixFSFile_Reference(t *testing.T) {
7474
7575func TestUnixFSFileRoundtrip (t * testing.T ) {
7676 buf := make ([]byte , 10 * 1024 * 1024 )
77- u .NewSeededRand (0xdeadbeef ).Read (buf )
77+ ipfsutil .NewSeededRand (0xdeadbeef ).Read (buf )
7878 r := bytes .NewReader (buf )
7979
8080 ls := cidlink .DefaultLinkSystem ()
Original file line number Diff line number Diff line change 66 "io"
77 "testing"
88
9- u "github.com/ipfs/go-ipfs-util"
9+ ipfsutil "github.com/ipfs/go-ipfs-util"
1010 "github.com/ipfs/go-unixfsnode/data/builder"
1111 "github.com/ipfs/go-unixfsnode/file"
1212 dagpb "github.com/ipld/go-codec-dagpb"
@@ -21,7 +21,7 @@ import (
2121
2222func TestPartialFileAccess (t * testing.T ) {
2323 buf := make ([]byte , 10 * 1024 * 1024 )
24- u .NewSeededRand (0xdeadbeef ).Read (buf )
24+ ipfsutil .NewSeededRand (0xdeadbeef ).Read (buf )
2525 r := bytes .NewReader (buf )
2626
2727 ls := cidlink .DefaultLinkSystem ()
You can’t perform that action at this time.
0 commit comments