From d0cd98cd212bc13cbcfd0fd97fc245329b57f50f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 19 Jul 2026 17:43:27 +0900 Subject: fix(search-command): un-ignore test_search by fixing JSON output and abandoned propagation The json format branch ignored search results entirely and always wrote null. Encode results into the same name/description/abandoned/url shape Composer's array-backed repositories produce. Also fix ComposerRepository's RepositoryInterface::search adapter, which dropped the abandoned field from raw API results even when present. --- crates/shirabe/tests/command/search_command_test.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/shirabe/tests/command') diff --git a/crates/shirabe/tests/command/search_command_test.rs b/crates/shirabe/tests/command/search_command_test.rs index 69f2930c..7806ea0f 100644 --- a/crates/shirabe/tests/command/search_command_test.rs +++ b/crates/shirabe/tests/command/search_command_test.rs @@ -36,7 +36,6 @@ fn run_search_case(command: Vec<(PhpMixed, PhpMixed)>, expected: &str) { #[test] #[serial] -#[ignore = "searching a `package`-type repo returns incomplete results (some matching packages are dropped); the search/repository path is not yet fully ported"] fn test_search() { // 'by name and description' run_search_case( -- cgit v1.3.1