diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go index 237388a6d..00e5372f5 100644 --- a/fstest/fstests/fstests.go +++ b/fstest/fstests/fstests.go @@ -1709,7 +1709,7 @@ func Run(t *testing.T, opt *Opt) { // User metadata "potato": "jersey", } - obj = PutTestContentsMetadata(ctx, t, f, &file, contents, true, "text/plain", testMetadata) + obj = PutTestContentsMetadata(ctx, t, f, &file, true, contents, true, "text/plain", testMetadata) fstest.CheckEntryMetadata(ctx, t, f, obj, testMetadata) do, objectHasSetMetadata := obj.(fs.SetMetadataer) require.True(t, objectHasSetMetadata)