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