hugolib: Fix test on Windows

This commit is contained in:
Bjørn Erik Pedersen 2018-10-17 08:37:02 +02:00
parent 0fe4ff1875
commit 083311d033
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -118,7 +118,7 @@ func TestSiteBuildErrors(t *testing.T) {
},
assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
assert.Error(err)
assert.Contains(err.Error(), "layouts/_default/single.html")
assert.Contains(err.Error(), "single.html")
},
},
}