diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-11 14:19:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-11 21:35:24 +0700 |
| commit | c3fbfbeab5605e3e2d31dc9a8dd95e9ca7139145 (patch) | |
| tree | 43414d0760ef4c4fcc29a67c70e303d6d8a11288 /testdata/scan | |
| parent | 9bcf61fd76ed3b54bc4d9847681749ba52c6e15f (diff) | |
| download | spdxconv-c3fbfbeab5605e3e2d31dc9a8dd95e9ca7139145.tar.xz | |
all: fix slice bounds out of range when scanning dir
Using for-range and slices.Delete inside it will result an error
out-of-range if the slices deleted multiple times.
Diffstat (limited to 'testdata/scan')
| -rw-r--r-- | testdata/scan/aaa | 1 | ||||
| -rw-r--r-- | testdata/scan/aaa.license | 2 | ||||
| -rw-r--r-- | testdata/scan/zzz | 1 | ||||
| -rw-r--r-- | testdata/scan/zzz.license | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/testdata/scan/aaa b/testdata/scan/aaa new file mode 100644 index 0000000..741876f --- /dev/null +++ b/testdata/scan/aaa @@ -0,0 +1 @@ +Dummy file. diff --git a/testdata/scan/aaa.license b/testdata/scan/aaa.license new file mode 100644 index 0000000..7b4ad3f --- /dev/null +++ b/testdata/scan/aaa.license @@ -0,0 +1,2 @@ +SPDX-License-Identifier: GPL-3.0-only +SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info> diff --git a/testdata/scan/zzz b/testdata/scan/zzz new file mode 100644 index 0000000..741876f --- /dev/null +++ b/testdata/scan/zzz @@ -0,0 +1 @@ +Dummy file. diff --git a/testdata/scan/zzz.license b/testdata/scan/zzz.license new file mode 100644 index 0000000..7b4ad3f --- /dev/null +++ b/testdata/scan/zzz.license @@ -0,0 +1,2 @@ +SPDX-License-Identifier: GPL-3.0-only +SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info> |
