shithub: hugo

Download patch

ref: 083311d0336ced35909b3375950f7817ecf95ed0
parent: 0fe4ff18751156fa072e1f83077e49a8597e7dcd
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Oct 17 04:37:02 EDT 2018

hugolib: Fix test on Windows

--- a/hugolib/hugo_sites_build_errors_test.go
+++ b/hugolib/hugo_sites_build_errors_test.go
@@ -118,7 +118,7 @@
 			},
 			assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
 				assert.Error(err)
-				assert.Contains(err.Error(), "layouts/_default/single.html")
+				assert.Contains(err.Error(), "single.html")
 			},
 		},
 	}