summaryrefslogtreecommitdiffstats
path: root/hugolib/permalinks_test.go
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-05-01 14:11:56 -0400
committerspf13 <steve.francia@gmail.com>2014-05-01 14:11:56 -0400
commitfb7d45e613e321410e847d39c3569434a5ffd81c (patch)
tree23937993dd6e265f6583ce50cda0ecf116e00342 /hugolib/permalinks_test.go
parent3395e1cb9255a2c5b4101a8040474ec05185decf (diff)
permitting empty files again. Fixing some tests to now pass.
Diffstat (limited to 'hugolib/permalinks_test.go')
-rw-r--r--hugolib/permalinks_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/permalinks_test.go b/hugolib/permalinks_test.go
index f1439d987..ea3abdf41 100644
--- a/hugolib/permalinks_test.go
+++ b/hugolib/permalinks_test.go
@@ -53,7 +53,7 @@ func TestPermalinkValidation(t *testing.T) {
}
func TestPermalinkExpansion(t *testing.T) {
- page, err := ReadFrom(strings.NewReader(SIMPLE_PAGE_JSON), "blue/test-page.md")
+ page, err := NewPageFrom(strings.NewReader(SIMPLE_PAGE_JSON), "blue/test-page.md")
if err != nil {
t.Fatalf("failed before we began, could not parse SIMPLE_PAGE_JSON: %s", err)
}