From 5c0ff6f271cdcf5228740da6bd08a0b43febef01 Mon Sep 17 00:00:00 2001 From: David Culbreth Date: Wed, 11 Mar 2026 11:57:06 -0500 Subject: [PATCH] fixing lint issues --- crates/cli/src/config.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/crates/cli/src/config.rs b/crates/cli/src/config.rs index 3ef0618..f463ace 100644 --- a/crates/cli/src/config.rs +++ b/crates/cli/src/config.rs @@ -401,8 +401,10 @@ mod tests { #[test] fn test_effective_format_defaults_to_config() { - let mut config = CliConfig::default(); - config.format = "json".to_string(); + let config = CliConfig { + format: "json".to_string(), + ..Default::default() + }; // No CLI override → uses config assert_eq!(config.effective_format(None), OutputFormat::Json); @@ -410,8 +412,10 @@ mod tests { #[test] fn test_effective_format_cli_overrides_config() { - let mut config = CliConfig::default(); - config.format = "json".to_string(); + let config = CliConfig { + format: "json".to_string(), + ..Default::default() + }; // CLI override wins assert_eq!(