aboutsummaryrefslogtreecommitdiff
path: root/lib/bytes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bytes')
-rw-r--r--lib/bytes/bytes_benchmark_test.go5
-rw-r--r--lib/bytes/parser_test.go3
-rw-r--r--lib/bytes/testdata/Parser_ReadNoSpace_test.txt3
-rw-r--r--lib/bytes/testdata/Parser_Read_test.txt3
4 files changed, 11 insertions, 3 deletions
diff --git a/lib/bytes/bytes_benchmark_test.go b/lib/bytes/bytes_benchmark_test.go
index 19cf5260..4630d9b0 100644
--- a/lib/bytes/bytes_benchmark_test.go
+++ b/lib/bytes/bytes_benchmark_test.go
@@ -1,6 +1,5 @@
-// Copyright 2019, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2019 Shulhan <ms@kilabit.info>
package bytes
diff --git a/lib/bytes/parser_test.go b/lib/bytes/parser_test.go
index e931497c..453371ae 100644
--- a/lib/bytes/parser_test.go
+++ b/lib/bytes/parser_test.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+
package bytes
import (
diff --git a/lib/bytes/testdata/Parser_ReadNoSpace_test.txt b/lib/bytes/testdata/Parser_ReadNoSpace_test.txt
index e18fd125..068a7e24 100644
--- a/lib/bytes/testdata/Parser_ReadNoSpace_test.txt
+++ b/lib/bytes/testdata/Parser_ReadNoSpace_test.txt
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+
The test initialize Parser with seven delimiters.
>>> multiline:delims
diff --git a/lib/bytes/testdata/Parser_Read_test.txt b/lib/bytes/testdata/Parser_Read_test.txt
index 235c9730..823f7cf7 100644
--- a/lib/bytes/testdata/Parser_Read_test.txt
+++ b/lib/bytes/testdata/Parser_Read_test.txt
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+
The test initialize Parser with seven delimiters.
>>> multiline:delims