test: Add context to mockfs.NewFs #3257 #4685

This commit is contained in:
Nick Craig-Wood
2020-11-09 18:05:54 +00:00
parent d846210978
commit d69b96a94c
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
func TestFingerprint(t *testing.T) {
ctx := context.Background()
f := mockfs.NewFs("test", "root")
f := mockfs.NewFs(ctx, "test", "root")
f.SetHashes(hash.NewHashSet(hash.MD5))
for i, test := range []struct {