add some tests

This commit is contained in:
Henrique Dias committed 2017-04-25 10:51:48 +01:00
1 parent 9a6a0dfbbb
commit 1f52d5d0fd
4 files changed
+184 -4

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ func Unmarshal(content []byte) (interface{}, error) {
return nil, err
}
default:
return nil, errors.New("Invalid frontmatter type.")
return nil, errors.New("Invalid frontmatter type")
}
return data, nil