diff options
author | Michael Muré <batolettre@gmail.com> | 2020-09-16 16:22:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-10-04 20:39:10 +0200 |
commit | ca720f165cb286d4372ad48595e532a2423f2f07 (patch) | |
tree | 6e1496a1a6603abbd473cc0060a5acebc763a68b /bug/operation_test.go | |
parent | d56ce3d5d9f5ef74201a8ee7c25be4820d435b47 (diff) | |
download | git-bug-ca720f165cb286d4372ad48595e532a2423f2f07.tar.gz |
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
Diffstat (limited to 'bug/operation_test.go')
-rw-r--r-- | bug/operation_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |