Remove page module dependence on opening files

The site is responsible for reading files, page only operates on
buffers.
This commit is contained in:
Noah Campbell
2013-09-04 16:57:17 -07:00
parent cb00917af6
commit d4d9da9f3a
5 changed files with 17 additions and 40 deletions

View File

@@ -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) {