permitting empty files again. Fixing some tests to now pass.

This commit is contained in:
spf13 2014-05-01 14:11:56 -04:00
parent 3395e1cb92
commit fb7d45e613
10 changed files with 73 additions and 39 deletions

View file

@ -6,7 +6,7 @@ import (
)
func pageFromString(in, filename string) (*Page, error) {
return ReadFrom(strings.NewReader(in), filename)
return NewPageFrom(strings.NewReader(in), filename)
}
func CheckShortCodeMatch(t *testing.T, input, expected string, template Template) {