diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-07-26 14:19:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 14:19:32 +0200 |
commit | a08061aa298ec4b92bbe470a1834465f25a0ad0d (patch) | |
tree | 8804820221e05096433b2e0cef5249e4a3e94c7b /storage/filesystem/dotgit/writers_test.go | |
parent | a8ff3e599b3ee998a8b8626cd9fe9fa68490d354 (diff) | |
parent | 79f249465b24104b73c9dc220d9098cecdab4d77 (diff) | |
download | go-git-a08061aa298ec4b92bbe470a1834465f25a0ad0d.tar.gz |
Merge pull request #898 from jfontan/feature/new-packfile-parser
Feature/new packfile parser
Diffstat (limited to 'storage/filesystem/dotgit/writers_test.go')
-rw-r--r-- | storage/filesystem/dotgit/writers_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/filesystem/dotgit/writers_test.go b/storage/filesystem/dotgit/writers_test.go index bf00762..5a5f7b4 100644 --- a/storage/filesystem/dotgit/writers_test.go +++ b/storage/filesystem/dotgit/writers_test.go @@ -9,6 +9,7 @@ import ( "strconv" "gopkg.in/src-d/go-git.v4/plumbing" + "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile" "gopkg.in/src-d/go-git.v4/plumbing/format/packfile" . "gopkg.in/check.v1" @@ -148,7 +149,7 @@ func (s *SuiteDotGit) TestPackWriterUnusedNotify(c *C) { w, err := newPackWrite(fs) c.Assert(err, IsNil) - w.Notify = func(h plumbing.Hash, idx *packfile.Index) { + w.Notify = func(h plumbing.Hash, idx *idxfile.Writer) { c.Fatal("unexpected call to PackWriter.Notify") } |