From 9293e3db11aa72cb4ce0c330a84dbe24d3237595 Mon Sep 17 00:00:00 2001 From: Rusty Conover Date: Sun, 25 Oct 2015 13:01:45 -0400 Subject: [PATCH] Fix failing test case When building a URL don't include path components in the host parameter. Closes #1124 Signed-off-by: Rusty Conover --- docs/api/v2/urls_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/v2/urls_test.go b/docs/api/v2/urls_test.go index 61d41547..fdcfc31a 100644 --- a/docs/api/v2/urls_test.go +++ b/docs/api/v2/urls_test.go @@ -238,7 +238,8 @@ func TestBuilderFromRequestWithPrefix(t *testing.T) { base: "https://subdomain.example.com/prefix/", configHost: url.URL{ Scheme: "https", - Host: "subdomain.example.com/prefix", + Host: "subdomain.example.com", + Path: "/prefix/", }, }, }