diff --git a/fs/sync/sync_test.go b/fs/sync/sync_test.go index c833281d7..11204506c 100644 --- a/fs/sync/sync_test.go +++ b/fs/sync/sync_test.go @@ -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.