|
@@ -31,7 +31,7 @@ func TestInferSubmoduleURL(t *testing.T) {
|
|
URL: "ssh://[email protected]:22/gogs/docs-api.git",
|
|
URL: "ssh://[email protected]:22/gogs/docs-api.git",
|
|
Commit: "6b08f76a5313fa3d26859515b30aa17a5faa2807",
|
|
Commit: "6b08f76a5313fa3d26859515b30aa17a5faa2807",
|
|
},
|
|
},
|
|
- expURL: "http://github.com:22/gogs/docs-api/commit/6b08f76a5313fa3d26859515b30aa17a5faa2807",
|
|
|
|
|
|
+ expURL: "http://github.com/gogs/docs-api/commit/6b08f76a5313fa3d26859515b30aa17a5faa2807",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: "SSH URL in SCP syntax",
|
|
name: "SSH URL in SCP syntax",
|