add some tests

Former-commit-id: c9c397710ea65ce273ebbe584276ef5eff7d2ca1 [formerly cef3eaec1126e45e2e64225c2224ab313954dbc4] [formerly 550903ae12bf3d907f67572bb5c204a0079bf42f [formerly 1f52d5d0fd]]
Former-commit-id: a66194a23a57f764a76b4f7959812257331e19db [formerly 3827a7330f021001aa2af61678e4ee9219e2571a]
Former-commit-id: 5a6fd2a47a07e32e1ea58e05c8b4493be38bb398
This commit is contained in:
Henrique Dias committed 2017-04-25 10:51:48 +01:00
1 parent 589f790ef7
commit 52fd0fbefd
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