From 69d7005f186a05a4dde2bd1c77f83f8060a2907d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 26 Jun 2026 00:48:35 +0900 Subject: test: un-ignore 14 tests that pass against current implementations Discovered via a full --include-ignored run: these tests have real (non-stub) bodies and pass now, either because their blocker was since implemented (e.g. config_command's stream_set_blocking via libc) or the ignore was stale. Covers composer, config, forgejo_url, config_command, default_policy, transaction, installed_repository, github_driver, version_bumper. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/command/config_command_test.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crates/shirabe/tests/command/config_command_test.rs') diff --git a/crates/shirabe/tests/command/config_command_test.rs b/crates/shirabe/tests/command/config_command_test.rs index f43322d..0f4651a 100644 --- a/crates/shirabe/tests/command/config_command_test.rs +++ b/crates/shirabe/tests/command/config_command_test.rs @@ -449,10 +449,6 @@ fn test_config_throws_for_invalid_arg_combination() { #[test] #[serial] -#[ignore = "the command correctly throws, but Application::do_run's exception path calls \ - hint_common_errors -> get_composer (a temp composer.json exists here), which reaches \ - ProcessExecutor (git) -> shirabe-php-shim stream_set_blocking (stream.rs todo!(), \ - requires fcntl(2))"] fn test_config_throws_for_invalid_severity() { let _tear_down = init_temp_composer(Some(&serde_json::json!({})), None, None, false); @@ -476,10 +472,6 @@ fn test_config_throws_for_invalid_severity() { #[test] #[serial] -#[ignore = "the command correctly throws, but Application::do_run's exception path calls \ - hint_common_errors -> get_composer (a temp composer.json exists here), which reaches \ - ProcessExecutor (git) -> shirabe-php-shim stream_set_blocking (stream.rs todo!(), \ - requires fcntl(2))"] fn test_config_throws_when_merging_array_with_object() { let _tear_down = init_temp_composer( Some(&serde_json::json!({"config": {"audit": {"ignore": ["CVE-2024-1234"]}}})), -- cgit v1.3.1