aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/parser_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/format/packfile/parser_test.go')
-rw-r--r--plumbing/format/packfile/parser_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/plumbing/format/packfile/parser_test.go b/plumbing/format/packfile/parser_test.go
index 9c7e218..09f3f97 100644
--- a/plumbing/format/packfile/parser_test.go
+++ b/plumbing/format/packfile/parser_test.go
@@ -133,10 +133,9 @@ func (s *ParserSuite) TestThinPack(c *C) {
}
func (s *ParserSuite) TestResolveExternalRefsInThinPack(c *C) {
- f, err := os.Open("testdata/pack-9733763ae7ee6efcf452d373d6fff77424fb1dcc.pack")
- c.Assert(err, IsNil)
+ extRefsThinPack := fixtures.ByTag("codecommit").One()
- scanner := packfile.NewScanner(f)
+ scanner := packfile.NewScanner(extRefsThinPack.Packfile())
obs := new(testObserver)
parser, err := packfile.NewParser(scanner, obs)