add some tests
This commit is contained in:
4 files changed
+184
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user