secret test updated

feature/306_private_poll
Karolis Rusenas 2018-11-24 23:31:36 +00:00
parent 038d0d2b14
commit 683c68a765
1 changed files with 6 additions and 6 deletions

View File

@ -452,12 +452,12 @@ func Test_hostname(t *testing.T) {
want: "quay.io",
wantErr: false,
},
{
name: "withport",
args: args{registry: "https://example.com:3456"},
want: "example.com",
wantErr: false,
},
{
name: "withport",
args: args{registry: "https://example.com:3456"},
want: "example.com",
wantErr: false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {