Unverified Commit 746561a9 authored by Oren Shomron's avatar Oren Shomron Committed by GitHub
Browse files

Merge pull request #828 from shomron/github-enterprise-test

Add test for GitHub enterprise URI detection
parents 22719fcd 9f9fb59c
......@@ -43,6 +43,12 @@ func TestRegistryAdd(t *testing.T) {
expectedURI: "github.com/foo/bar",
protocol: registry.ProtocolGitHub,
},
{
name: "github enterprise",
uri: "github.foo.com/foo/bar",
expectedURI: "github.foo.com/foo/bar",
protocol: registry.ProtocolGitHub,
},
{
name: "github override",
uri: "github.com/foo/bar",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment