diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-10 01:41:19 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-10 01:41:19 +0100 |
commit | 2637279338ca9736c22b5e15fca916121ae8d089 (patch) | |
tree | 2273e55f2d2b68b9b6335924d6b00ddf3417e8e7 /plumbing/format/packfile/scanner_test.go | |
parent | 2bdfd91f04068220a72feeade31defc09f2a601e (diff) | |
download | go-git-2637279338ca9736c22b5e15fca916121ae8d089.tar.gz |
*: migration from go-git-fixtures/v4 and go-git/gcfg
Diffstat (limited to 'plumbing/format/packfile/scanner_test.go')
-rw-r--r-- | plumbing/format/packfile/scanner_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go index 5c1d5c9..892a27c 100644 --- a/plumbing/format/packfile/scanner_test.go +++ b/plumbing/format/packfile/scanner_test.go @@ -4,10 +4,10 @@ import ( "bytes" "io" + fixtures "github.com/go-git/go-git-fixtures/v4" "github.com/go-git/go-git/v5/plumbing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git-fixtures.v3" ) type ScannerSuite struct { @@ -93,7 +93,7 @@ func (s *ScannerSuite) TestNextObjectHeaderWithOutReadObject(c *C) { n, err := p.Checksum() c.Assert(err, IsNil) - c.Assert(n, Equals, f.PackfileHash) + c.Assert(n.String(), Equals, f.PackfileHash) } func (s *ScannerSuite) TestNextObjectHeaderWithOutReadObjectNonSeekable(c *C) { @@ -115,7 +115,7 @@ func (s *ScannerSuite) TestNextObjectHeaderWithOutReadObjectNonSeekable(c *C) { n, err := p.Checksum() c.Assert(err, IsNil) - c.Assert(n, Equals, f.PackfileHash) + c.Assert(n.String(), Equals, f.PackfileHash) } func (s *ScannerSuite) TestSeekObjectHeader(c *C) { |