aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-spdx-licenses/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-16 19:06:49 +0900
committernsfisis <nsfisis@gmail.com>2026-08-16 19:07:15 +0900
commitb6604e1395f003748fe40a44e1190470632a40ce (patch)
tree27ce3c137c860a7bd8914852ba5f851e213d448c /crates/shirabe-spdx-licenses/src
parentc5605cc072c1880af7d70647278c6aa0de43f402 (diff)
downloadphp-shirabe-b6604e1395f003748fe40a44e1190470632a40ce.tar.gz
php-shirabe-b6604e1395f003748fe40a44e1190470632a40ce.tar.zst
php-shirabe-b6604e1395f003748fe40a44e1190470632a40ce.zip
refactor(preg): import preg_*() instead of qualifying them
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-spdx-licenses/src')
-rw-r--r--crates/shirabe-spdx-licenses/src/spdx_licenses.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe-spdx-licenses/src/spdx_licenses.rs b/crates/shirabe-spdx-licenses/src/spdx_licenses.rs
index 82f2ae70..07b911fc 100644
--- a/crates/shirabe-spdx-licenses/src/spdx_licenses.rs
+++ b/crates/shirabe-spdx-licenses/src/spdx_licenses.rs
@@ -296,7 +296,7 @@ fn ws0_end(s: &[u8], pos: usize) -> usize {
}
#[cfg(test)]
-mod is_valid_license_string_tests {
+mod tests {
use super::SpdxLicenses;
// Every case below was cross-checked against `Composer\Spdx\SpdxLicenses::validate()` running