diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-04 15:26:26 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-04 15:26:26 +0900 |
| commit | 1fdbfc1a277a788f8317ed47fccda22c587d3363 (patch) | |
| tree | 21e562b53122aaa5dd1d068d912c201454c040e9 /crates/shirabe/tests/platform | |
| parent | 51653e3e2f09df1d03454b25630c933764551970 (diff) | |
| download | php-shirabe-1fdbfc1a277a788f8317ed47fccda22c587d3363.tar.gz php-shirabe-1fdbfc1a277a788f8317ed47fccda22c587d3363.tar.zst php-shirabe-1fdbfc1a277a788f8317ed47fccda22c587d3363.zip | |
fix(pcre): restore missing regex delimiters in ported patterns
Several Preg::*() call sites lost their PHP delimiter (and in one case
the `i` modifier) during porting, since preg_*() expects the delimiter
to be preserved in the caller's pattern literal and stripped internally.
This made compile_php_pattern panic or silently misparse the pattern.
Un-ignore the Version tests that were blocked by this bug.
Diffstat (limited to 'crates/shirabe/tests/platform')
| -rw-r--r-- | crates/shirabe/tests/platform/version_test.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/shirabe/tests/platform/version_test.rs b/crates/shirabe/tests/platform/version_test.rs index 009b0a7..49fc34a 100644 --- a/crates/shirabe/tests/platform/version_test.rs +++ b/crates/shirabe/tests/platform/version_test.rs @@ -57,7 +57,6 @@ fn provide_openssl_versions() -> Vec<(&'static str, &'static str, bool, Option<& } #[test] -#[ignore] fn test_parse_openssl_versions() { for (input, parsed_version, fips_expected, normalized_version) in provide_openssl_versions() { let mut is_fips = false; @@ -76,7 +75,6 @@ fn test_parse_openssl_versions() { } #[test] -#[ignore] fn test_parse_libjpeg_version() { let cases = [ ("9", "9.0"), @@ -95,7 +93,6 @@ fn test_parse_libjpeg_version() { } #[test] -#[ignore] fn test_parse_zoneinfo_version() { let cases = [ ("2019c", "2019.3"), |
