File tree 1 file changed +3
-3
lines changed
storage/filesystem/dotgit
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ func (s *SuiteDotGit) TestConfig(c *C) {
332
332
fs := fixtures .Basic ().ByTag (".git" ).One ().DotGit ()
333
333
dir := New (fs )
334
334
335
- file , err := dir .Config ()
335
+ file , err := dir .LocalConfig ()
336
336
c .Assert (err , IsNil )
337
337
c .Assert (filepath .Base (file .Name ()), Equals , "config" )
338
338
}
@@ -345,13 +345,13 @@ func (s *SuiteDotGit) TestConfigWriteAndConfig(c *C) {
345
345
fs := osfs .New (tmp )
346
346
dir := New (fs )
347
347
348
- f , err := dir .ConfigWriter ()
348
+ f , err := dir .LocalConfigWriter ()
349
349
c .Assert (err , IsNil )
350
350
351
351
_ , err = f .Write ([]byte ("foo" ))
352
352
c .Assert (err , IsNil )
353
353
354
- f , err = dir .Config ()
354
+ f , err = dir .LocalConfig ()
355
355
c .Assert (err , IsNil )
356
356
357
357
cnt , err := ioutil .ReadAll (f )
You can’t perform that action at this time.
0 commit comments