From a9dc11a1a0d8d442ab85b3eeb8791f2a8069d528 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 20 Jul 2026 07:53:15 +0900 Subject: test(fund-command): match PHP tester options for deterministic display capture_stderr_separately routed the tester through ConsoleOutput, which detects color/hyperlink support from the real process STDOUT before the stream is swapped to the memory buffer. When STDOUT is a real tty, decoration leaks into the captured output. The PHP original never passes this option and get_error_output() was unused here, so drop it to match and keep the assertion deterministic. --- crates/shirabe/tests/command/fund_command_test.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'crates/shirabe/tests') diff --git a/crates/shirabe/tests/command/fund_command_test.rs b/crates/shirabe/tests/command/fund_command_test.rs index 22b9b060..faeda9dc 100644 --- a/crates/shirabe/tests/command/fund_command_test.rs +++ b/crates/shirabe/tests/command/fund_command_test.rs @@ -55,15 +55,7 @@ fn run_fund_case( } let mut app_tester = get_application_tester(); - let status_code = app_tester - .run( - input, - RunOptions { - capture_stderr_separately: true, - ..RunOptions::default() - }, - ) - .unwrap(); + let status_code = app_tester.run(input, RunOptions::default()).unwrap(); assert_eq!(0, status_code); assert_eq!(expected.trim(), app_tester.get_display().trim()); -- cgit v1.3.1