aboutsummaryrefslogtreecommitdiffstats
path: root/repository/tree_entry_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-01 19:39:02 +0200
committerMichael Muré <batolettre@gmail.com>2020-07-01 19:39:02 +0200
commit3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch)
treec77a29e1f35fefa5040454976c6edcf86e7678bc /repository/tree_entry_test.go
parent33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff)
downloadgit-bug-3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7.tar.gz
repository: merge git.Hash in for one less /util package
Diffstat (limited to 'repository/tree_entry_test.go')
-rw-r--r--repository/tree_entry_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/repository/tree_entry_test.go b/repository/tree_entry_test.go
index 78f58ff6..d57433ff 100644
--- a/repository/tree_entry_test.go
+++ b/repository/tree_entry_test.go
@@ -4,14 +4,12 @@ import (
"testing"
"github.com/stretchr/testify/assert"
-
- "github.com/MichaelMure/git-bug/util/git"
)
func TestTreeEntryFormat(t *testing.T) {
entries := []TreeEntry{
- {Blob, git.Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"},
- {Tree, git.Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"},
+ {Blob, Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"},
+ {Tree, Hash("a85730cf5287d40a1e32d3a671ba2296c73387cb"), "name"},
}
for _, entry := range entries {