[vlc-commits] url: add one test case
Rémi Denis-Courmont
git at videolan.org
Mon Mar 26 18:44:54 CEST 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 26 17:28:58 2012 +0300| [f3ee60c1d4f30e36444261983911c1260deb8707] | committer: Jean-Baptiste Kempf
url: add one test case
(cherry picked from commit 1b01c5be4a68a8f6965a747fd3b6d79dcf4a32fb)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=f3ee60c1d4f30e36444261983911c1260deb8707
---
src/test/url.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/test/url.c b/src/test/url.c
index b6f2681..ed61292 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -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");
More information about the vlc-commits
mailing list