diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-07 02:04:43 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-07 02:04:43 +0200 |
commit | 56adb5be3ad26a0045ea6c6a6d24dafdff15ba1c (patch) | |
tree | bd8ecbb6674f01f03f97fb15083bed0a3e8e021d /tree_diff_test.go | |
parent | 98a22e72a808aa0d5dd62339817404fd9e1c4db6 (diff) | |
download | go-git-56adb5be3ad26a0045ea6c6a6d24dafdff15ba1c.tar.gz |
format: packfile new interface
Diffstat (limited to 'tree_diff_test.go')
-rw-r--r-- | tree_diff_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree_diff_test.go b/tree_diff_test.go index e177c26..9a0b04c 100644 --- a/tree_diff_test.go +++ b/tree_diff_test.go @@ -48,9 +48,9 @@ func (s *DiffTreeSuite) SetUpSuite(c *C) { f, err := os.Open(fixRepo.packfile) c.Assert(err, IsNil) - r := packfile.NewSeekable(f) + r := packfile.NewScanner(f) d := packfile.NewDecoder(r, s.repos[fixRepo.url].s.ObjectStorage()) - err = d.Decode() + _, err = d.Decode() c.Assert(err, IsNil) c.Assert(f.Close(), IsNil) |