aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/url.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua
index 40d684bfc..282d79290 100644
--- a/test/lua/unit/url.lua
+++ b/test/lua/unit/url.lua
@@ -136,6 +136,9 @@ context("URL check functions", function()
{"http:////$%^&****((@example.org//#f@f", true, {
user = '$%^&****((', host = 'example.org', fragment = 'f@f'
}},
+ {"http://@@example.com", true, {
+ user = "@", host = "example.com"
+ }}
}
-- Some cases from https://code.google.com/p/google-url/source/browse/trunk/src/url_canon_unittest.cc