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`.
This commit is contained in:
google-labs-jules[bot]
2026-03-06 01:52:04 +00:00
parent 5a925702d3
commit 210bee2f2c
+10 -2
View File
@@ -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);