Commit 1b01c5be authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

url: add one test case

parent bb354867
...@@ -124,6 +124,8 @@ int main (void) ...@@ -124,6 +124,8 @@ int main (void)
"http://www.example.com/%7Ejohn/"); "http://www.example.com/%7Ejohn/");
test_path ("/", "file:///"); test_path ("/", "file:///");
test_path ("/home/john/", "file:///home/john/"); 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 ("/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");
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