fixed TestIpfsStressRead on Windows
License: MIT Signed-off-by: Max Chechel <mc@gojuno.com>
Max Chechel committed
Jan 11, 2019 at 01:42 UTC
498474f35842111cd676008513cd87ecff7856eb
1 file changed
+1
-1
fuse/readonly/ipfs_test.go
+1
-1
@@ -173,7 +173,7 @@ func TestIpfsStressRead(t *testing.T) {
173
t.Fatal(err)
174
}
175
176
- relpath := strings.Replace(item.String(), "/ipfs/", "/", 1)
176
+ relpath := strings.Replace(item.String(), item.Namespace(), "", 1)
177
fname := path.Join(mnt.Dir, relpath)
178
179
rbuf, err := ioutil.ReadFile(fname)