Commit f3ee60c1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

url: add one test case

(cherry picked from commit 1b01c5be4a68a8f6965a747fd3b6d79dcf4a32fb)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3d7ba166
......@@ -124,6 +124,8 @@ int main (void)
"http://www.example.com/%7Ejohn/");
test_path ("/", "file:///");
test_path ("/home/john/", "file:///home/john/");
test_path ("/home/john//too///many//slashes",
"file:///home/john//too///many//slashes");
test_path ("/home/john/music.ogg", "file:///home/john/music.ogg");
test_path ("\\\\server/pub/music.ogg", "smb://server/pub/music.ogg");
test_path ("\\\\server\\pub\\music.ogg", "smb://server/pub/music.ogg");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment