mirror of
https://github.com/rclone/rclone.git
synced 2025-08-18 01:20:16 +02:00
sync: move Transferring into operations.Copy
This makes the code more consistent with the operations code setting the transfer statistics up.
This commit is contained in:
@@ -995,9 +995,9 @@ func TestSyncWithTrackRenames(t *testing.T) {
|
||||
fstest.CheckItems(t, r.Fremote, f1, f2)
|
||||
|
||||
if canTrackRenames {
|
||||
assert.Equal(t, accounting.Stats.GetTransfers(), int64(0))
|
||||
assert.Equal(t, int64(0), accounting.Stats.GetTransfers())
|
||||
} else {
|
||||
assert.Equal(t, accounting.Stats.GetTransfers(), int64(1))
|
||||
assert.Equal(t, int64(1), accounting.Stats.GetTransfers())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user