From 5240f9d1e5bcb07b5b91b197151f8afc2cd7793c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 27 Feb 2019 17:13:13 +0000 Subject: [PATCH] sync: fix integration tests to check correct error --- fs/sync/sync_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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