From 5a5eab9a1ea7bf6dd79420668c2c0df1a3ea88f5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 10 Oct 2012 18:00:47 +0100 Subject: Add a test for file scheme. --- test/urldbtest.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/urldbtest.c') diff --git a/test/urldbtest.c b/test/urldbtest.c index da4d65213..9a683546c 100644 --- a/test/urldbtest.c +++ b/test/urldbtest.c @@ -230,6 +230,10 @@ int main(void) lwc_string_unref(scheme); nsurl_unref(url); + url = make_url("file:///home/"); + urldb_add_url(url); + nsurl_unref(url); + url = make_url("http://www.minimarcos.org.uk/cgi-bin/forum/Blah.pl?,v=login,p=2"); urldb_set_cookie("mmblah=foo; path=/; expires=Thur, 31-Dec-2099 00:00:00 GMT\r\n", url, NULL); nsurl_unref(url); -- cgit v1.2.3