shithub: hugo

Download patch

ref: 9a367d9d06db6f6cf22121d0397c464ae36e7089
parent: 4402c077754991df19c3bbab0c4a671dcfdc192c
author: Cameron Moore <[email protected]>
date: Sun Feb 4 17:04:40 EST 2018

hugolib: Fix broken TestTemplateLookupOrder

It looks like we left some debugging code in place that caused all but
one test case to run.

--- a/hugolib/template_test.go
+++ b/hugolib/template_test.go
@@ -190,10 +190,6 @@
 		},
 	} {
 
-		if i != 9 {
-			continue
-		}
-
 		cfg, fs = newTestCfg()
 		th = testHelper{cfg, fs, t}