sync: fix TestCopyRedownload after ModifyWindow changes #2310

This commit is contained in:
Nick Craig-Wood 2018-06-10 17:33:17 +01:00
parent 4d793b8ee8
commit 1c75581959

View file

@ -152,7 +152,8 @@ func TestCopyRedownload(t *testing.T) {
err := CopyDir(r.Flocal, r.Fremote)
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.