shithub: hugo

Download patch

ref: fe7ca7d78c25f105706490aff11fbb4aabc2de3d
parent: 13d14ab94d46a0d5affdf688c49dcf053d70d737
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Dec 18 18:23:37 EST 2015

Fix build

--- a/tpl/template_resources_test.go
+++ b/tpl/template_resources_test.go
@@ -20,7 +20,6 @@
 	"net/http/httptest"
 	"net/url"
 	"os"
-	"runtime"
 	"strings"
 	"testing"
 	"time"
@@ -116,6 +115,7 @@
 	testServer := httptest.NewServer(http.HandlerFunc(handler))
 	client := &http.Client{
 		Transport: &http.Transport{Proxy: func(r *http.Request) (*url.URL, error) {
+			// Remove when https://github.com/golang/go/issues/13686 is fixed
 			r.Host = "gohugo.io"
 			return url.Parse(testServer.URL)
 		}},