diff options
author | spf13 <steve.francia@gmail.com> | 2014-05-01 14:11:56 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-05-01 14:11:56 -0400 |
commit | fb7d45e613e321410e847d39c3569434a5ffd81c (patch) | |
tree | 23937993dd6e265f6583ce50cda0ecf116e00342 /hugolib/permalinks_test.go | |
parent | 3395e1cb9255a2c5b4101a8040474ec05185decf (diff) |
permitting empty files again. Fixing some tests to now pass.
Diffstat (limited to 'hugolib/permalinks_test.go')
-rw-r--r-- | hugolib/permalinks_test.go | 2 |
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) } |