test(convention): unit test for misc type

main
Tran Hau 2021-01-12 01:27:08 +07:00
parent daf3f0b36d
commit 54a97bbaf9
2 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,12 @@ func TestNewCommit(t *testing.T) {
Message: "Docs: correct spelling of CHANGELOG",
},
},
{
name: "Misc",
c: git.Commit{
Message: "random git message",
},
},
}
for _, tc := range tests {

View File

@ -0,0 +1,4 @@
{
"RawHeader": "random git message",
"Type": "misc"
}