mirror of
https://github.com/restic/restic.git
synced 2026-10-06 02:40:31 +00:00
fuse: remove unused context parameter
This commit is contained in:
@@ -119,7 +119,7 @@ func TestFuseFile(t *testing.T) {
|
||||
root := &Root{repo: repo, blobCache: bloblru.New(blobCacheSize)}
|
||||
|
||||
inode := fs.GenerateDynamicInode(1, "foo")
|
||||
f, err := newFile(context.TODO(), root, inode, node)
|
||||
f, err := newFile(root, inode, node)
|
||||
rtest.OK(t, err)
|
||||
of, err := f.Open(context.TODO(), nil, nil)
|
||||
rtest.OK(t, err)
|
||||
@@ -163,7 +163,7 @@ func TestFuseDir(t *testing.T) {
|
||||
}
|
||||
parentInode := fs.GenerateDynamicInode(0, "parent")
|
||||
inode := fs.GenerateDynamicInode(1, "foo")
|
||||
d, err := newDir(context.TODO(), root, inode, parentInode, node)
|
||||
d, err := newDir(root, inode, parentInode, node)
|
||||
rtest.OK(t, err)
|
||||
|
||||
// don't open the directory as that would require setting up a proper tree blob
|
||||
|
||||
Reference in New Issue
Block a user