hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit dd2ab2820ec9f894d56b7917a39dfdff5774075d
parent 31035f8ad12f6bee967eb0a598e224e34acfd966
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri, 18 Dec 2015 16:19:00 +0100

Correct the strings.Contains syntax in failing test

Diffstat:
Mtpl/template_resources_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tpl/template_resources_test.go b/tpl/template_resources_test.go
@@ -117,7 +117,7 @@ func getTestServer(handler func(w http.ResponseWriter, r *http.Request)) (*httpt
 	client := &http.Client{
 		Transport: &http.Transport{Proxy: func(r *http.Request) (*url.URL, error) {
 
-			if !strings.Contains("go1.4", runtime.Version()) {
+			if !strings.Contains(runtime.Version(), "go1.4") {
 				r.Host = "Host: gohugo.io"
 			}