diff options
author | Santiago M. Mola <santi@mola.io> | 2016-11-03 17:10:43 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-03 17:10:43 +0100 |
commit | 3f7fbc6c49e50eb22e3de8a5143817fa7c0c54dd (patch) | |
tree | 0bf81a6dd858278000d1d7f7afc578d993fba791 /storage/filesystem/config_test.go | |
parent | 94f5e9c949963893d1c3d3e987a591ee15265327 (diff) | |
download | go-git-3f7fbc6c49e50eb22e3de8a5143817fa7c0c54dd.tar.gz |
storage/filesystem: implement missing functionality. (#110)
* storage/filesystem: added ObjectStorage Set.
* storage/filesystem: now passes all tests, except those specific to transactions.
* formats/config: Encoder now encodes subsections with no options.
* formats/config: add HasSubsection on Section.
* dotgit: add Ref method to get specific reference.
Diffstat (limited to 'storage/filesystem/config_test.go')
-rw-r--r-- | storage/filesystem/config_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go index 7759f4e..b52e6a1 100644 --- a/storage/filesystem/config_test.go +++ b/storage/filesystem/config_test.go @@ -31,7 +31,7 @@ func (s *ConfigSuite) SetUpTest(c *C) { func (s *ConfigSuite) TestSetRemote(c *C) { cfg := &ConfigStorage{s.dir} - err := cfg.SetRemote(&config.RemoteConfig{Name: "foo"}) + err := cfg.SetRemote(&config.RemoteConfig{Name: "foo", URL: "foo"}) c.Assert(err, IsNil) remote, err := cfg.Remote("foo") |