mirror of
https://github.com/rclone/rclone.git
synced 2025-03-17 20:27:52 +02:00
sync: fix TestCopyRedownload after ModifyWindow changes #2310
This commit is contained in:
parent
4d793b8ee8
commit
1c75581959
@ -152,7 +152,8 @@ func TestCopyRedownload(t *testing.T) {
|
|||||||
err := CopyDir(r.Flocal, r.Fremote)
|
err := CopyDir(r.Flocal, r.Fremote)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
fstest.CheckItems(t, r.Flocal, file1)
|
// Test with combined precision of local and remote as we copied it there and back
|
||||||
|
fstest.CheckListingWithPrecision(t, r.Flocal, []fstest.Item{file1}, nil, fs.GetModifyWindow(r.Flocal, r.Fremote))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a file and sync it. Change the last modified date and resync.
|
// Create a file and sync it. Change the last modified date and resync.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user