1
mirror of https://github.com/rclone/rclone synced 2024-12-17 06:25:56 +01:00

operations: fix TestRemoveExisting on crypt backends by shortening the file name

This commit is contained in:
Nick Craig-Wood 2024-11-12 12:29:44 +00:00
parent abe884e744
commit e50f995d87

View File

@ -1893,7 +1893,7 @@ func TestRemoveExisting(t *testing.T) {
}
file1 := r.WriteObject(ctx, "sub dir/test remove existing", "hello world", t1)
file2 := r.WriteObject(ctx, "sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", "hello long name world", t1)
file2 := r.WriteObject(ctx, "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789", "hello long name world", t1)
r.CheckRemoteItems(t, file1, file2)