diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
commit | 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch) | |
tree | c77a29e1f35fefa5040454976c6edcf86e7678bc /bug/operation_pack_test.go | |
parent | 33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff) | |
download | git-bug-3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7.tar.gz |
repository: merge git.Hash in for one less /util package
Diffstat (limited to 'bug/operation_pack_test.go')
-rw-r--r-- | bug/operation_pack_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bug/operation_pack_test.go b/bug/operation_pack_test.go index 21ac0a00..b6707152 100644 --- a/bug/operation_pack_test.go +++ b/bug/operation_pack_test.go @@ -5,10 +5,11 @@ import ( "testing" "time" - "github.com/MichaelMure/git-bug/identity" - "github.com/MichaelMure/git-bug/util/git" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + + "github.com/MichaelMure/git-bug/identity" + "github.com/MichaelMure/git-bug/repository" ) func TestOperationPackSerialize(t *testing.T) { @@ -33,7 +34,7 @@ func TestOperationPackSerialize(t *testing.T) { assert.Equal(t, 1, len(opMeta.Metadata)) - opFile := NewAddCommentOp(rene, time.Now().Unix(), "message", []git.Hash{ + opFile := NewAddCommentOp(rene, time.Now().Unix(), "message", []repository.Hash{ "abcdef", "ghijkl", }) |