1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 09:59:13 +08:00

Golint merkledag_test.go

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
Hector Sanjuan
2018-02-15 20:08:37 +01:00
parent ee6472904e
commit c42e684e6b

View File

@ -133,7 +133,7 @@ func TestBatchFetchDupBlock(t *testing.T) {
func makeTestDAG(t *testing.T, read io.Reader, ds ipld.DAGService) ipld.Node {
p := make([]byte, 512)
nodes := []*ProtoNode{}
var err error = nil
var err error
_, err = read.Read(p)
for err == nil {
protoNode := NodeWithData(p)