fix: use block-style comments for java, scala, kotlin

fixes #46
This commit is contained in:
Will Norris
2021-08-10 10:26:12 -07:00
parent 9cc7ec3e36
commit 2fe3ee9447
4 changed files with 35 additions and 31 deletions

View File

@@ -303,7 +303,7 @@ func TestLicenseHeader(t *testing.T) {
"",
},
{
[]string{"f.c", "f.h", "f.gv"},
[]string{"f.c", "f.h", "f.gv", "f.java", "f.scala", "f.kt", "f.kts"},
"/*\n * HYS\n */\n\n",
},
{
@@ -311,8 +311,8 @@ func TestLicenseHeader(t *testing.T) {
"/**\n * HYS\n */\n\n",
},
{
[]string{"f.cc", "f.cpp", "f.cs", "f.go", "f.hcl", "f.hh", "f.hpp", "f.java", "f.m", "f.mm", "f.proto",
"f.rs", "f.scala", "f.swift", "f.dart", "f.groovy", "f.kt", "f.kts", "f.v", "f.sv", "f.php"},
[]string{"f.cc", "f.cpp", "f.cs", "f.go", "f.hcl", "f.hh", "f.hpp", "f.m", "f.mm", "f.proto",
"f.rs", "f.swift", "f.dart", "f.groovy", "f.v", "f.sv", "f.php"},
"// HYS\n\n",
},
{