From cf12dca846d82d6d4bdd748087282fe7115ed263 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 14 Oct 2011 21:31:53 +0000 Subject: A bunch more tests for trivial inputs svn path=/trunk/netsurf/; revision=13052 --- test/nsurl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/nsurl.c b/test/nsurl.c index 217dd42be..d504469a6 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -32,7 +32,12 @@ static const struct test_pairs create_tests[] = { { "http:", "http:" }, { "http:/", "http:" }, { "http://", "http:" }, + { "http:a", "http://a/" }, + { "http:a/", "http://a/" }, + { "http:a/b", "http://a/b" }, + { "http:/a", "http://a/" }, { "http:/a/b", "http://a/b" }, + { "http://a", "http://a/" }, { "http://a/b", "http://a/b" }, { "http://www.netsurf-browser.org:8080/", -- cgit v1.2.3