Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ijaz Ahmad
ksonnet
Commits
746561a9
Unverified
Commit
746561a9
authored
Aug 13, 2018
by
Oren Shomron
Committed by
GitHub
Aug 13, 2018
Browse files
Merge pull request #828 from shomron/github-enterprise-test
Add test for GitHub enterprise URI detection
parents
22719fcd
9f9fb59c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
pkg/actions/registry_add_test.go
pkg/actions/registry_add_test.go
+6
-0
No files found.
pkg/actions/registry_add_test.go
View file @
746561a9
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment