@@ -24,7 +24,7 @@ var _ = Suite(&FsSuite{
2424
2525func (s * FsSuite ) TestGetFromObjectFile (c * C ) {
2626 fs := fixtures .ByTag (".git" ).ByTag ("unpacked" ).One ().DotGit ()
27- o , err := newObjectStorage (dotgit .New (fs ))
27+ o , err := NewObjectStorage (dotgit .New (fs ))
2828 c .Assert (err , IsNil )
2929
3030 expected := plumbing .NewHash ("f3dfe29d268303fc6e1bbce268605fc99573406e" )
@@ -36,7 +36,7 @@ func (s *FsSuite) TestGetFromObjectFile(c *C) {
3636func (s * FsSuite ) TestGetFromPackfile (c * C ) {
3737 fixtures .Basic ().ByTag (".git" ).Test (c , func (f * fixtures.Fixture ) {
3838 fs := f .DotGit ()
39- o , err := newObjectStorage (dotgit .New (fs ))
39+ o , err := NewObjectStorage (dotgit .New (fs ))
4040 c .Assert (err , IsNil )
4141
4242 expected := plumbing .NewHash ("6ecf0ef2c2dffb796033e5a02219af86ec6584e5" )
@@ -48,7 +48,7 @@ func (s *FsSuite) TestGetFromPackfile(c *C) {
4848
4949func (s * FsSuite ) TestGetFromPackfileMultiplePackfiles (c * C ) {
5050 fs := fixtures .ByTag (".git" ).ByTag ("multi-packfile" ).One ().DotGit ()
51- o , err := newObjectStorage (dotgit .New (fs ))
51+ o , err := NewObjectStorage (dotgit .New (fs ))
5252 c .Assert (err , IsNil )
5353
5454 expected := plumbing .NewHash ("8d45a34641d73851e01d3754320b33bb5be3c4d3" )
@@ -65,7 +65,7 @@ func (s *FsSuite) TestGetFromPackfileMultiplePackfiles(c *C) {
6565func (s * FsSuite ) TestIter (c * C ) {
6666 fixtures .ByTag (".git" ).ByTag ("packfile" ).Test (c , func (f * fixtures.Fixture ) {
6767 fs := f .DotGit ()
68- o , err := newObjectStorage (dotgit .New (fs ))
68+ o , err := NewObjectStorage (dotgit .New (fs ))
6969 c .Assert (err , IsNil )
7070
7171 iter , err := o .IterEncodedObjects (plumbing .AnyObject )
@@ -86,7 +86,7 @@ func (s *FsSuite) TestIterWithType(c *C) {
8686 fixtures .ByTag (".git" ).Test (c , func (f * fixtures.Fixture ) {
8787 for _ , t := range s .Types {
8888 fs := f .DotGit ()
89- o , err := newObjectStorage (dotgit .New (fs ))
89+ o , err := NewObjectStorage (dotgit .New (fs ))
9090 c .Assert (err , IsNil )
9191
9292 iter , err := o .IterEncodedObjects (t )
0 commit comments