aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/show_command_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-17 02:41:21 +0900
committernsfisis <nsfisis@gmail.com>2026-08-17 02:44:09 +0900
commitfcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653 (patch)
treea7966f53ae9f96ee583cb4105cf882fd137e1a1b /crates/shirabe/tests/command/show_command_test.rs
parent089215c1c26b4b09f697e3711416cbed0c53b0d3 (diff)
downloadphp-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.tar.gz
php-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.tar.zst
php-shirabe-fcc6ee5a13cd2e2b27fff66dcfc7e9e1f062a653.zip
refactor(preg): drop unused args of preg_match_all_offset_capture2()
The sole caller, Preg::match_all_with_offsets5(), always passed flags=0 and offset=0, so PREG_UNMATCHED_AS_NULL is now unconditional and the subject is scanned from the beginning. That method is only reached from Preg::match_all_with_offsets(), so it is no longer public either. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command/show_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/show_command_test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/shirabe/tests/command/show_command_test.rs b/crates/shirabe/tests/command/show_command_test.rs
index 20dbf848..eb8176e9 100644
--- a/crates/shirabe/tests/command/show_command_test.rs
+++ b/crates/shirabe/tests/command/show_command_test.rs
@@ -187,6 +187,7 @@ outdated/patch 1.0.0 <highlight>! 1.0.1</highlight>",
#[test]
#[serial]
+#[ignore = "see test_self()"]
fn test_show_outdated_deps_sorting_by_age() {
run_show_case(
input(vec![