diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-12 16:10:30 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-12 21:19:48 +0700 |
| commit | 2a8ab762eabbe53f358eecd337872957d1afa01c (patch) | |
| tree | 2c4e2363e9a051c7b1534e28e3c8883da45099c3 /testdata | |
| parent | 1dbd1e4c64a65c2f601cae42e63e6c5150c3acca (diff) | |
| download | spdxconv-2a8ab762eabbe53f358eecd337872957d1afa01c.tar.xz | |
config_match_license: remove unused field DeleteMatch
The line that match with pattern will be replaced with new SPDX license
identifier, so no need to guard it with this flag.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/Apply_test.txt | 2 | ||||
| -rw-r--r-- | testdata/loadConfig/config_exists/spdxconv.cfg | 1 | ||||
| -rw-r--r-- | testdata/scan/spdxconv.cfg | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/testdata/Apply_test.txt b/testdata/Apply_test.txt index 3ee49f4..712c2bc 100644 --- a/testdata/Apply_test.txt +++ b/testdata/Apply_test.txt @@ -14,8 +14,6 @@ file_copyright_text = M. Shulhan <ms@kilabit.info> [match-license] pattern = "^(//+|#+)\\s+(.*)governed by a BSD-style(.*)$" license_identifier = BSD-3-Clause -delete_match = true -delete_line_pattern = "^(//+|#+)\\s*$" delete_line_pattern = "^(//+|#+)\\s+license that(.*)$" [match-copyright] diff --git a/testdata/loadConfig/config_exists/spdxconv.cfg b/testdata/loadConfig/config_exists/spdxconv.cfg index 1defeef..ec401a3 100644 --- a/testdata/loadConfig/config_exists/spdxconv.cfg +++ b/testdata/loadConfig/config_exists/spdxconv.cfg @@ -9,7 +9,6 @@ max_line_match = 10 [match-license] pattern = "^(//+|#+)\\s+(.*)governed by a BSD-style(.*)$" license_identifier = BSD-3-Clause -delete_match = true delete_line_pattern = "^(//+|#+)\\s+license that(.*)$" [match-copyright] diff --git a/testdata/scan/spdxconv.cfg b/testdata/scan/spdxconv.cfg index 1defeef..ec401a3 100644 --- a/testdata/scan/spdxconv.cfg +++ b/testdata/scan/spdxconv.cfg @@ -9,7 +9,6 @@ max_line_match = 10 [match-license] pattern = "^(//+|#+)\\s+(.*)governed by a BSD-style(.*)$" license_identifier = BSD-3-Clause -delete_match = true delete_line_pattern = "^(//+|#+)\\s+license that(.*)$" [match-copyright] |
