fstest: remove spurious contents return from PutTestContents and friends

This commit is contained in:
Nick Craig-Wood
2022-06-27 12:29:13 +01:00
parent 35f24d5b84
commit 461d041c4d
6 changed files with 22 additions and 20 deletions

View File

@@ -297,7 +297,7 @@ func TestHashSumsWithErrors(t *testing.T) {
// Make a test file
content := "-"
item1 := fstest.NewItem("file1", content, t1)
_, _ = fstests.PutTestContents(ctx, t, memFs, &item1, content, true)
_ = fstests.PutTestContents(ctx, t, memFs, &item1, content, true)
// MemoryFS supports MD5
buf := &bytes.Buffer{}