aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/config_command_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-26 00:48:35 +0900
committernsfisis <nsfisis@gmail.com>2026-06-26 00:48:35 +0900
commit69d7005f186a05a4dde2bd1c77f83f8060a2907d (patch)
tree4d9d33aba17aa05401090aa0b3c59cd353f5e52a /crates/shirabe/tests/command/config_command_test.rs
parent90c7acbd8e6eb1ddaf8680de6a1ef9f2417d50ce (diff)
downloadphp-shirabe-69d7005f186a05a4dde2bd1c77f83f8060a2907d.tar.gz
php-shirabe-69d7005f186a05a4dde2bd1c77f83f8060a2907d.tar.zst
php-shirabe-69d7005f186a05a4dde2bd1c77f83f8060a2907d.zip
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/command/config_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/config_command_test.rs8
1 files changed, 0 insertions, 8 deletions
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"]}}})),