From 3f7fbc6c49e50eb22e3de8a5143817fa7c0c54dd Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Thu, 3 Nov 2016 17:10:43 +0100 Subject: 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. --- storage/filesystem/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/filesystem/config_test.go') 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") -- cgit