From 4bd544608e4934fff4463fd6b104d06162a51ba0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 26 Jun 2026 02:05:40 +0900 Subject: feat(symfony-style): implement is_console_output_interface, apply real table style is_console_output_interface downcasts dyn OutputInterface to the concrete ConsoleOutput (the sole ConsoleOutputInterface implementor) via AsAny, mirroring the existing ConsoleSectionOutput check. create_table now passes the customized TableStyle directly through StyleName::Style instead of discarding it. Un-ignores LicensesCommandTest::test_format_summary. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/command/licenses_command_test.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/shirabe/tests/command/licenses_command_test.rs') diff --git a/crates/shirabe/tests/command/licenses_command_test.rs b/crates/shirabe/tests/command/licenses_command_test.rs index 9e6fc46..05bd7f6 100644 --- a/crates/shirabe/tests/command/licenses_command_test.rs +++ b/crates/shirabe/tests/command/licenses_command_test.rs @@ -175,10 +175,6 @@ fn test_format_json() { #[test] #[serial] -#[ignore = "SymfonyStyle::table reaches \ - symfony_style.rs:445 is_console_output_interface() todo!() (downcasting \ - dyn OutputInterface to dyn ConsoleOutputInterface is not expressible with the current \ - trait design)"] fn test_format_summary() { let _tear_down = set_up(); -- cgit v1.3.1