mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -168,8 +168,9 @@ func (s *IntegrationTestBuilder) destinationExists(filename string) bool {
|
||||
return b
|
||||
}
|
||||
|
||||
func (s *IntegrationTestBuilder) AssertIsFileError(err error) {
|
||||
func (s *IntegrationTestBuilder) AssertIsFileError(err error) herrors.FileError {
|
||||
s.Assert(err, qt.ErrorAs, new(herrors.FileError))
|
||||
return herrors.UnwrapFileError(err)
|
||||
}
|
||||
|
||||
func (s *IntegrationTestBuilder) AssertRenderCountContent(count int) {
|
||||
|
Reference in New Issue
Block a user