From ca720f165cb286d4372ad48595e532a2423f2f07 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 16 Sep 2020 16:22:02 +0200 Subject: cache,bug,identity: structural change - bug doesn't commit identities anymore, only make sure they are commit - cache use an IdentityResolver to load bugs with identities from the cache (deps injection) - IdentityCache now are identity.Interface --- bug/operation_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bug/operation_test.go') diff --git a/bug/operation_test.go b/bug/operation_test.go index 21ae5eff..64bff41f 100644 --- a/bug/operation_test.go +++ b/bug/operation_test.go @@ -106,7 +106,7 @@ func TestID(t *testing.T) { require.Equal(t, id1, id2) - b2, err := ReadLocalBug(repo, b.Id()) + b2, err := ReadLocal(repo, b.Id()) require.Nil(t, err) op3 := b2.FirstOp() -- cgit