1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00

fstest: fix compile after merge

After merging this commit

56caab2033 b2: Include custom upload headers in large file info

The compile failed as a change had been missed. Should have rebased
before merging!
This commit is contained in:
Nick Craig-Wood 2024-07-15 12:18:14 +01:00
parent e1b7bf7701
commit 5ddedae431

View File

@ -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)