提交 498474f3 作者: Max Chechel

fixed TestIpfsStressRead on Windows

License: MIT
Signed-off-by: 's avatarMax Chechel <mc@gojuno.com>
上级 c0ab4331
......@@ -173,7 +173,7 @@ func TestIpfsStressRead(t *testing.T) {
t.Fatal(err)
}
relpath := strings.Replace(item.String(), "/ipfs/", "/", 1)
relpath := strings.Replace(item.String(), item.Namespace(), "", 1)
fname := path.Join(mnt.Dir, relpath)
rbuf, err := ioutil.ReadFile(fname)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论