Commit 498474f3 authored by Max Chechel's avatar Max Chechel

fixed TestIpfsStressRead on Windows

License: MIT
Signed-off-by: default avatarMax Chechel <mc@gojuno.com>
parent 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 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