aboutsummaryrefslogtreecommitdiffstats
path: root/tree_diff_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-15 21:20:58 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-15 21:20:58 +0200
commit7e8d7125446bb6e12a056a5a6ca979727790d0df (patch)
treedf07bada01b332d00131c33034d88935357ba0d1 /tree_diff_test.go
parentd57f90b78eeb6b09b15e3fe57609ede66df4edac (diff)
downloadgo-git-7e8d7125446bb6e12a056a5a6ca979727790d0df.tar.gz
dotgit: synced write packfile and index generation
Diffstat (limited to 'tree_diff_test.go')
-rw-r--r--tree_diff_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tree_diff_test.go b/tree_diff_test.go
index 9a0b04c..44f6910 100644
--- a/tree_diff_test.go
+++ b/tree_diff_test.go
@@ -49,7 +49,8 @@ func (s *DiffTreeSuite) SetUpSuite(c *C) {
c.Assert(err, IsNil)
r := packfile.NewScanner(f)
- d := packfile.NewDecoder(r, s.repos[fixRepo.url].s.ObjectStorage())
+ d, err := packfile.NewDecoder(r, s.repos[fixRepo.url].s.ObjectStorage())
+ c.Assert(err, IsNil)
_, err = d.Decode()
c.Assert(err, IsNil)