mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
commands, hugolib: Get file context in "config parse failed" errors
Fixes #5325
This commit is contained in:
@@ -1145,7 +1145,7 @@ func TestDegenerateInvalidFrontMatterShortDelim(t *testing.T) {
|
||||
r string
|
||||
err string
|
||||
}{
|
||||
{invalidFrontmatterShortDelimEnding, ":2: EOF looking for end YAML front matter delimiter"},
|
||||
{invalidFrontmatterShortDelimEnding, "EOF looking for end YAML front matter delimiter"},
|
||||
}
|
||||
for _, test := range tests {
|
||||
s := newTestSite(t)
|
||||
|
Reference in New Issue
Block a user