Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ijaz Ahmad
ksonnet
Commits
9f9fb59c
Commit
9f9fb59c
authored
Aug 13, 2018
by
Oren Shomron
Browse files
Add test for GitHub enterprise URI detection
Signed-off-by:
Oren Shomron
<
shomron@gmail.com
>
parent
22719fcd
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 @
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"
,
...
...
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