summaryrefslogtreecommitdiffstats
path: root/helpers/url_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/url_test.go')
-rw-r--r--helpers/url_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/url_test.go b/helpers/url_test.go
index c484a99a6..4774accbb 100644
--- a/helpers/url_test.go
+++ b/helpers/url_test.go
@@ -53,6 +53,8 @@ func TestAbsURL(t *testing.T) {
{"/test/2/foo/", "http://base", "http://base/test/2/foo/"},
{"http://abs", "http://base/", "http://abs"},
{"//schemaless", "http://base/", "//schemaless"},
+ {"test/2/foo/", "http://base/path", "http://base/path/test/2/foo/"},
+ {"/test/2/foo/", "http://base/path", "http://base/test/2/foo/"},
}
for _, test := range tests {