aboutsummaryrefslogtreecommitdiff
path: root/testdata/Apply_test.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/Apply_test.txt')
-rw-r--r--testdata/Apply_test.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/testdata/Apply_test.txt b/testdata/Apply_test.txt
index 13ee6be..b643a3c 100644
--- a/testdata/Apply_test.txt
+++ b/testdata/Apply_test.txt
@@ -59,6 +59,45 @@ pattern = "^(//+|#+|/\\*+|<!--+|--+)?\\s*Copyright\\s+(?<year>\\d{4}),?\\s+(?<au
delete_line_before = "^(//+|#+|/\\*+|<!--+|--+)$"
delete_line_after = "^(//+|#+|\\*+/|--+>|--+)$"
+>>> spdxconv.report
+
+<<< spdxconv.report
+// SPDX-License-Identifier: CC0-1.0
+// SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info>
+
+//spdxconv:version:v1
+//spdxconv:header:path,license_id,idx_license_id,year,copyright_id,idx_copyright_id
+//
+//spdxconv:regular
+//
+//
+//spdxconv:binary
+//
+//
+//spdxconv:unknown
+//
+with_match_license.txt,,0,,,0,,
+with_match_license_bottom.txt,,0,,,0,,
+with_no_order.txt,,0,,,0,,
+with_spdx.txt,,0,,,0,,
+with_spdx_at_bottom.txt,,0,,,0,,
+with_spdx_license_id_only.txt,,0,,,0,,
+with_spdx_no_order.txt,,0,,,0,,
+without_spdx_license_id.txt,,0,,,0,,
+//
+//spdxconv:done
+//
+.gitignore,exist,0,,exist,1,#,
+empty.html,GPL-3.0-only,0,2026,M. Shulhan <ms@kilabit.info>,0,<!--,-->
+with.html,BSD-3-Clause,0,2022,Shulhan <ms@kilabit.info>,1,<!--,-->
+with_match_license.go,BSD-3-Clause,0,2018,Shulhan <ms@kilabit.info>,0,//,
+with_match_license_bottom.go,BSD-3-Clause,0,2018,Shulhan <ms@kilabit.info>,4,//,
+with_spdx.go,exist,0,,exist,1,//,
+with_spdx_at_bottom.go,GPL-3.0-only,0,2026,M. Shulhan <ms@kilabit.info>,0,//,
+with_spdx_license_id_only.go,GPL-3.0-only,0,2026,M. Shulhan <ms@kilabit.info>,0,//,
+with_spdx_no_order.go,exist,1,,exist,0,//,
+without_spdx_license_id.go,GPL-3.0-only,0,2026,M. Shulhan <ms@kilabit.info>,0,//,
+
>>> empty.html
<<< empty.html