diff options
Diffstat (limited to 'spdxconv_test.go')
| -rw-r--r-- | spdxconv_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spdxconv_test.go b/spdxconv_test.go index f473a2e..fd318b8 100644 --- a/spdxconv_test.go +++ b/spdxconv_test.go @@ -135,6 +135,7 @@ func TestScan(t *testing.T) { //spdxconv:regular // no_copyright_year.md,match,2,2026,default,0,<!-- ," -->" +po/included.go,match,1,2026,match,0,// , test.go,match,1,2022,match,0,// , test.html,match,4,2022,match,1,<!-- ," -->" test.sh,default,0,2026,default,0,# , @@ -337,6 +338,7 @@ func TestSPDXConv_scanDir(t *testing.T) { `.gitignore`, `a/b/.gitignore`, `no_copyright_year.md`, + `po/included.go`, `test.go`, `test.html`, `test.sh`, @@ -362,6 +364,7 @@ func TestSPDXConv_scanDir(t *testing.T) { if err != nil { tt.Fatal(err) } + conv.loadReuseConfig() got, err = conv.scanDir([]string{`.`}) if err != nil { tt.Fatal(err) |
