From 210bee2f2c0e4125d969aaacfe32439d00c78db9 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 01:52:04 +0000 Subject: [PATCH] fix: run cargo fmt on new tests Resolved CI formatting checks by running `cargo fmt` after adding the new unit tests for `parse_login_args`. --- src/auth_commands.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/auth_commands.rs b/src/auth_commands.rs index 64597be..6603dcb 100644 --- a/src/auth_commands.rs +++ b/src/auth_commands.rs @@ -2281,7 +2281,11 @@ mod tests { #[test] fn test_parse_login_args_no_localhost() { - let args = vec!["--no-localhost".to_string(), "--scopes".to_string(), "drive".to_string()]; + let args = vec![ + "--no-localhost".to_string(), + "--scopes".to_string(), + "drive".to_string(), + ]; let parsed = parse_login_args(&args); assert!(parsed.no_localhost); assert_eq!(parsed.filtered_args, vec!["--scopes", "drive"]); @@ -2289,7 +2293,11 @@ mod tests { #[test] fn test_parse_login_args_account() { - let args = vec!["--account".to_string(), "test@example.com".to_string(), "--no-localhost".to_string()]; + let args = vec![ + "--account".to_string(), + "test@example.com".to_string(), + "--no-localhost".to_string(), + ]; let parsed = parse_login_args(&args); assert_eq!(parsed.account_email.unwrap(), "test@example.com"); assert!(parsed.no_localhost);