mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
hugolib: Fix test on Windows
This commit is contained in:
@ -118,7 +118,7 @@ func TestSiteBuildErrors(t *testing.T) {
|
|||||||
},
|
},
|
||||||
assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
|
assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
|
||||||
assert.Error(err)
|
assert.Error(err)
|
||||||
assert.Contains(err.Error(), "layouts/_default/single.html")
|
assert.Contains(err.Error(), "single.html")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user