diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-11 21:27:58 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-11 21:36:20 +0700 |
| commit | 069380e6b34d36ca2ace9c0d7e2ec4efdc4a2736 (patch) | |
| tree | 2c0f0c75021eaa3a7e61fe2553ae2040ccd3f946 /spdxconv_test.go | |
| parent | e5daeb13cbd446a4fe882fb722d8d3359dd9bef9 (diff) | |
| download | spdxconv-069380e6b34d36ca2ace9c0d7e2ec4efdc4a2736.tar.xz | |
all: exclude file that contains both SPDX license and copyright text
If the file already contains SPDX-License-Identifier and
SPDX-FileCopyrightText, in any order, ignore it from being included
during scan.
Diffstat (limited to 'spdxconv_test.go')
| -rw-r--r-- | spdxconv_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spdxconv_test.go b/spdxconv_test.go index b58f7a0..0e3d635 100644 --- a/spdxconv_test.go +++ b/spdxconv_test.go @@ -45,7 +45,6 @@ func TestScan(t *testing.T) { exp := `//spdxconv:version:v1 //spdxconv:header:path,license_id,idx_license_id,year,copyright_id,idx_copyright_id //spdxconv:regular -.gitignore,exist,0,unknown,exist,1,# , test.go,match,1,unknown,match,0,// , test.html,default,0,unknown,default,0,<!-- ," -->" test.sh,match,1,unknown,match,0,# , |
