aboutsummaryrefslogtreecommitdiffstats
path: root/config/config_test.go
diff options
context:
space:
mode:
authorManuel Carmona <manu.carmona90@gmail.com>2017-08-10 09:34:47 +0200
committerManuel Carmona <manu.carmona90@gmail.com>2017-08-10 09:34:47 +0200
commit0f8ed5664c38605fbb849017214cebbf5de50666 (patch)
tree55831dd4b0ce3e16fe1717a5033c7dfdc4ad1888 /config/config_test.go
parentda410ded51ddab7729992540b54c739e43090244 (diff)
downloadgo-git-0f8ed5664c38605fbb849017214cebbf5de50666.tar.gz
serialized remotes in alphabetical order
Diffstat (limited to 'config/config_test.go')
-rw-r--r--config/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config_test.go b/config/config_test.go
index 97f4bbf..c27ee26 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -51,13 +51,13 @@ func (s *ConfigSuite) TestMarshall(c *C) {
output := []byte(`[core]
bare = true
worktree = bar
-[remote "origin"]
- url = git@github.com:mcuadros/go-git.git
[remote "alt"]
url = git@github.com:mcuadros/go-git.git
url = git@github.com:src-d/go-git.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/pull/*:refs/remotes/origin/pull/*
+[remote "origin"]
+ url = git@github.com:mcuadros/go-git.git
[submodule "qux"]
url = https://github.com/foo/qux.git
`)