@@ -24,7 +24,7 @@ var _ = Suite(&FsSuite{
24
24
25
25
func (s * FsSuite ) TestGetFromObjectFile (c * C ) {
26
26
fs := fixtures .ByTag (".git" ).ByTag ("unpacked" ).One ().DotGit ()
27
- o , err := newObjectStorage (dotgit .New (fs ))
27
+ o , err := NewObjectStorage (dotgit .New (fs ))
28
28
c .Assert (err , IsNil )
29
29
30
30
expected := plumbing .NewHash ("f3dfe29d268303fc6e1bbce268605fc99573406e" )
@@ -36,7 +36,7 @@ func (s *FsSuite) TestGetFromObjectFile(c *C) {
36
36
func (s * FsSuite ) TestGetFromPackfile (c * C ) {
37
37
fixtures .Basic ().ByTag (".git" ).Test (c , func (f * fixtures.Fixture ) {
38
38
fs := f .DotGit ()
39
- o , err := newObjectStorage (dotgit .New (fs ))
39
+ o , err := NewObjectStorage (dotgit .New (fs ))
40
40
c .Assert (err , IsNil )
41
41
42
42
expected := plumbing .NewHash ("6ecf0ef2c2dffb796033e5a02219af86ec6584e5" )
@@ -48,7 +48,7 @@ func (s *FsSuite) TestGetFromPackfile(c *C) {
48
48
49
49
func (s * FsSuite ) TestGetFromPackfileMultiplePackfiles (c * C ) {
50
50
fs := fixtures .ByTag (".git" ).ByTag ("multi-packfile" ).One ().DotGit ()
51
- o , err := newObjectStorage (dotgit .New (fs ))
51
+ o , err := NewObjectStorage (dotgit .New (fs ))
52
52
c .Assert (err , IsNil )
53
53
54
54
expected := plumbing .NewHash ("8d45a34641d73851e01d3754320b33bb5be3c4d3" )
@@ -65,7 +65,7 @@ func (s *FsSuite) TestGetFromPackfileMultiplePackfiles(c *C) {
65
65
func (s * FsSuite ) TestIter (c * C ) {
66
66
fixtures .ByTag (".git" ).ByTag ("packfile" ).Test (c , func (f * fixtures.Fixture ) {
67
67
fs := f .DotGit ()
68
- o , err := newObjectStorage (dotgit .New (fs ))
68
+ o , err := NewObjectStorage (dotgit .New (fs ))
69
69
c .Assert (err , IsNil )
70
70
71
71
iter , err := o .IterEncodedObjects (plumbing .AnyObject )
@@ -86,7 +86,7 @@ func (s *FsSuite) TestIterWithType(c *C) {
86
86
fixtures .ByTag (".git" ).Test (c , func (f * fixtures.Fixture ) {
87
87
for _ , t := range s .Types {
88
88
fs := f .DotGit ()
89
- o , err := newObjectStorage (dotgit .New (fs ))
89
+ o , err := NewObjectStorage (dotgit .New (fs ))
90
90
c .Assert (err , IsNil )
91
91
92
92
iter , err := o .IterEncodedObjects (t )
0 commit comments