diff --git a/registry/remote/repository_test.go b/registry/remote/repository_test.go index 622e5d21..b6772cbd 100644 --- a/registry/remote/repository_test.go +++ b/registry/remote/repository_test.go @@ -7461,10 +7461,10 @@ func TestRepository_clone(t *testing.T) { } if !reflect.DeepEqual(&repo.referrersPingLock, &crepo.referrersPingLock) { - t.Fatal("referrersPingLock should be copied") + t.Fatal("referrersPingLock should be different") } if !reflect.DeepEqual(&repo.referrersMergePool, &crepo.referrersMergePool) { - t.Fatal("referrersMergePool should be copied") + t.Fatal("referrersMergePool should be different") } }