mirror of
https://github.com/rclone/rclone
synced 2024-11-24 01:26:25 +01:00
operations: fix TestRemoveExisting on crypt backends by shortening the file name
This commit is contained in:
parent
abe884e744
commit
e50f995d87
@ -1893,7 +1893,7 @@ func TestRemoveExisting(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
file1 := r.WriteObject(ctx, "sub dir/test remove existing", "hello world", t1)
|
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)
|
r.CheckRemoteItems(t, file1, file2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user