mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
@@ -191,7 +191,7 @@ func TestSiteBuildErrors(t *testing.T) {
|
||||
},
|
||||
assertBuildError: func(a testSiteBuildErrorAsserter, err error) {
|
||||
assert.Error(err)
|
||||
assert.Contains(err.Error(), `"content/mytoml.md": render of "page" failed: execute of template failed: panic in Execute`)
|
||||
assert.Contains(err.Error(), `execute of template failed: panic in Execute`)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user