finish hadnling 'cleaned' remote URLs

This commit is contained in:
Will Norris 2016-05-26 13:45:59 -07:00
parent a1af9aa8e2
commit b61992ec51
2 changed files with 15 additions and 7 deletions

View file

@ -147,6 +147,10 @@ func TestNewRequest(t *testing.T) {
"http://localhost/http:/example.com/foo",
"http://example.com/foo", emptyOptions, false,
},
{
"http://localhost/http:///example.com/foo",
"http://example.com/foo", emptyOptions, false,
},
}
for _, tt := range tests {