aboutsummaryrefslogtreecommitdiff
path: root/spdxconv_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'spdxconv_test.go')
-rw-r--r--spdxconv_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/spdxconv_test.go b/spdxconv_test.go
index c057a71..194276e 100644
--- a/spdxconv_test.go
+++ b/spdxconv_test.go
@@ -63,15 +63,15 @@ func TestInit(t *testing.T) {
}, {
Pattern: `^.*\.(apk|app|bz2|csv|doc|docx|exe|gif|gz|jpeg|jpg|json|pdf|png|ppt|pptx|svg|svgz|tar|tgz|xls|xlsx|zip)$`,
}},
- MatchLicense: []*configMatchLicense{{
+ MatchLicense: []*matchLicense{{
Pattern: `^(//+|#+)\s+(.*)governed by a BSD-style(.*)$`,
LicenseIdentifier: `BSD-3-Clause`,
DeleteLinePattern: []string{
`^(//+|#+)\s+license that(.*)$`,
},
}},
- MatchCopyright: []*configMatchCopyright{{
- Pattern: `^(//+|#+)?\s*Copyright\s+(?<year>\d{4}),?\s+(?<author>.*)\s+<*(?<contact>.*)>.*$`,
+ MatchCopyright: []*matchCopyright{{
+ Pattern: `^(//+|#+)\s+Copyright\s+(?<year>\d{4}),?\s+(?<author>.*)\s+<*(?<contact>.*)>.*$`,
}},
}
for _, mfc := range exp.MatchFileComment {