aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-22 00:18:02 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-22 00:18:02 +0200
commitf42d82364c5d159f65a48e720433ad2bc97f0b7f (patch)
tree82623f4163625786f4e8e41028dcd1c7abaf209f /storage/filesystem
parenta045606fc9c5cbf30b409384cbdad4804f01c61d (diff)
downloadgo-git-f42d82364c5d159f65a48e720433ad2bc97f0b7f.tar.gz
Remote.Fetch multiple RefSpec support
Diffstat (limited to 'storage/filesystem')
-rw-r--r--storage/filesystem/config_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/filesystem/config_test.go b/storage/filesystem/config_test.go
index bf7eda5..cbff1e0 100644
--- a/storage/filesystem/config_test.go
+++ b/storage/filesystem/config_test.go
@@ -18,7 +18,8 @@ func (s *ConfigSuite) TestConfigFileDecode(c *C) {
c.Assert(config.Remotes, HasLen, 2)
c.Assert(config.Remotes["origin"].URL, Equals, "git@github.com:src-d/go-git.git")
- c.Assert(config.Remotes["origin"].Fetch.String(), Equals, "+refs/heads/*:refs/remotes/origin/*")
+ c.Assert(config.Remotes["origin"].Fetch, HasLen, 1)
+ c.Assert(config.Remotes["origin"].Fetch[0].String(), Equals, "+refs/heads/*:refs/remotes/origin/*")
}
var configFixture = []byte(`