well we have to copy...

This commit is contained in:
6543 2022-06-11 23:52:31 +02:00
parent c00fb87ae9
commit a9f63de328
2 changed files with 4 additions and 2 deletions

View file

@ -17,4 +17,5 @@ func TestJoinURL(t *testing.T) {
baseURL, _ = url.Parse("http://wow.url.com/subpath/2/")
assert.EqualValues(t, "http://wow.url.com/subpath/2/content.pdf", joinURL(baseURL, "/content.pdf"))
assert.EqualValues(t, "http://wow.url.com/subpath/2/wonderful.jpg", joinURL(baseURL, "wonderful.jpg"))
}