refactor(report): around FillCveInfo (#1095)

* refactor(report): around FillCveInfo

* refacotr(report): around FillCveInfo
This commit is contained in:
Kota Kanbe
2020-12-15 15:48:23 +09:00
committed by GitHub
parent 514eb71482
commit d576b6c6c1
9 changed files with 172 additions and 104 deletions

View File

@@ -1096,6 +1096,10 @@ func Test_major(t *testing.T) {
in string
expected string
}{
{
in: "",
expected: "",
},
{
in: "4.1",
expected: "4",