1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00

sync: fix integration tests to check correct error

This commit is contained in:
Nick Craig-Wood 2019-02-27 17:13:13 +00:00
parent 997654d77d
commit 5240f9d1e5

View File

@ -1111,7 +1111,7 @@ func TestServerSideMoveOverlap(t *testing.T) {
filter.Active.Opt.MinSize = -1 filter.Active.Opt.MinSize = -1
}() }()
err = MoveDir(FremoteMove, r.Fremote, false) err = MoveDir(FremoteMove, r.Fremote, false)
assert.Equal(t, err, fs.ErrorOverlapping) assert.EqualError(t, err, fs.ErrorOverlapping.Error())
} }
// Test a sync with overlap // Test a sync with overlap