[vlc-commits] url: add one test case

Rémi Denis-Courmont git at videolan.org
Mon Mar 26 16:29:18 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 26 17:28:58 2012 +0300| [1b01c5be4a68a8f6965a747fd3b6d79dcf4a32fb] | committer: Rémi Denis-Courmont

url: add one test case

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b01c5be4a68a8f6965a747fd3b6d79dcf4a32fb
---

 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