mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Remove page module dependence on opening files
The site is responsible for reading files, page only operates on buffers.
This commit is contained in:
@@ -133,7 +133,7 @@ func TestDegenerateEmptyPage(t *testing.T) {
|
||||
t.Fatalf("Expected ReadFrom to return an error when an empty buffer is passed.")
|
||||
}
|
||||
|
||||
checkError(t, err, "unable to locate front matter")
|
||||
checkError(t, err, "test: unable to locate front matter")
|
||||
}
|
||||
|
||||
func checkPageTitle(t *testing.T, page *Page, title string) {
|
||||
|
Reference in New Issue
Block a user