summaryrefslogtreecommitdiff
path: root/libproxy
diff options
context:
space:
mode:
authornpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-09-29 16:59:57 +0000
committernpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2010-09-29 16:59:57 +0000
commitf62f2acf673eafc7d085dfa20fca034845db155e (patch)
tree52998bec388eefd3caf54423e806ba17dcb5f4c9 /libproxy
parent3f7983abf35dae5215c603afeeec10cf58eefc85 (diff)
downloadlibproxy-f62f2acf673eafc7d085dfa20fca034845db155e.tar.gz
add a test case for the URL with nothing but scheme
git-svn-id: http://libproxy.googlecode.com/svn/trunk@767 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy')
-rw-r--r--libproxy/test/url-test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libproxy/test/url-test.cpp b/libproxy/test/url-test.cpp
index b7b54d8..6f1184f 100644
--- a/libproxy/test/url-test.cpp
+++ b/libproxy/test/url-test.cpp
@@ -131,6 +131,13 @@ int main()
"", "",
"", 0,
"80");
+
+ /* Handle the case where there is nothing other than the scheme */
+ try_url ("http://", rtv,
+ "http",
+ "", "",
+ "", 80,
+ "");
return !rtv;
}