feat: add support for cmake files
Co-authored-by: Sergii Baitala <sbaitala@gmail.com>
This commit is contained in:
10
main_test.go
10
main_test.go
@@ -339,6 +339,16 @@ func TestLicenseHeader(t *testing.T) {
|
||||
[]string{"f.ml", "f.mli", "f.mll", "f.mly"},
|
||||
"(**\n HYS\n*)\n\n",
|
||||
},
|
||||
{
|
||||
[]string{"cmakelists.txt", "f.cmake", "f.cmake.in"},
|
||||
"# HYS\n\n",
|
||||
},
|
||||
|
||||
// ensure matches are case insenstive
|
||||
{
|
||||
[]string{"F.PY", "DoCkErFiLe"},
|
||||
"# HYS\n\n",
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user