test(convetion): unit test for mixedcase types
parent
e915d51338
commit
e76289a94d
|
@ -32,6 +32,18 @@ func TestNewCommit(t *testing.T) {
|
|||
Message: "feat(lang): add polish language",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Uppercase",
|
||||
c: git.Commit{
|
||||
Message: "REFACTOR!: drop support for Node 6",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Mixedcase",
|
||||
c: git.Commit{
|
||||
Message: "Docs: correct spelling of CHANGELOG",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"RawHeader": "Docs: correct spelling of CHANGELOG",
|
||||
"Type": "docs"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"RawHeader": "REFACTOR!: drop support for Node 6",
|
||||
"Type": "refactor"
|
||||
}
|
Loading…
Reference in New Issue