diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-15 01:00:59 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-15 01:00:59 +0700 |
| commit | 56f2fb3751f73ec7bc04f19a7bb36587340de298 (patch) | |
| tree | 8d0a5d74d0e59e918eea51fd009a688f9b57dced /report_test.go | |
| parent | 8da1336917c763da16bc6466928c796f269548e8 (diff) | |
| download | spdxconv-56f2fb3751f73ec7bc04f19a7bb36587340de298.tar.xz | |
file: change the flag for grouping to use int instead of bool
Previously, we use two boolean fields to flag a file as binary and
unknown.
In order to simplify it in the future we change it to int.
Diffstat (limited to 'report_test.go')
| -rw-r--r-- | report_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/report_test.go b/report_test.go index 2b31436..abe7766 100644 --- a/report_test.go +++ b/report_test.go @@ -45,13 +45,13 @@ func TestLoadReport(t *testing.T) { path: `fileB1`, licenseID: valDefault, copyrightText: valDefault, - isBinary: true, + group: groupBinary, }}, listUnknown: []*file{{ path: `fileU1`, licenseID: valDefault, copyrightText: valDefault, - isUnknown: true, + group: groupUnknown, }}, } test.Assert(t, workDir, exp, got) |
