aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/ssh/common_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/ssh/common_test.go b/plumbing/transport/ssh/common_test.go
index faa0503..6e76096 100644
--- a/plumbing/transport/ssh/common_test.go
+++ b/plumbing/transport/ssh/common_test.go
@@ -49,7 +49,7 @@ func (s *SuiteCommon) TestDefaultSSHConfig(c *C) {
}()
DefaultSSHConfig = &mockSSHConfig{map[string]map[string]string{
- "github.com": map[string]string{
+ "github.com": {
"Hostname": "foo.local",
"Port": "42",
},
@@ -82,7 +82,7 @@ func (s *SuiteCommon) TestDefaultSSHConfigWildcard(c *C) {
}()
DefaultSSHConfig = &mockSSHConfig{Values: map[string]map[string]string{
- "*": map[string]string{
+ "*": {
"Port": "42",
},
}}