format test file

Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
pull/6055/head
Karuppiah Natarajan 6 years ago
parent 2e55dbe1fd
commit 9e59bb75f9
No known key found for this signature in database
GPG Key ID: C674A28337662A96

@ -65,8 +65,8 @@ func TestEqual(t *testing.T) {
func TestExtractHostname(t *testing.T) { func TestExtractHostname(t *testing.T) {
tests := map[string]string{ tests := map[string]string{
"http://example.com": "example.com", "http://example.com": "example.com",
"https://example.com/foo": "example.com", "https://example.com/foo": "example.com",
"https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com", "https://example.com:31337/not/with/a/bang/but/a/whimper": "example.com",
} }
for start, expect := range tests { for start, expect := range tests {

Loading…
Cancel
Save