🔧 fix: address clippy warnings after refactoring

- Change &PathBuf to &Path parameter in plan_credential_file_operation
- Use inline format string in log message
- Both formatting and linting now clean
This commit is contained in:
Jeremiah Russell
2025-10-21 14:42:40 +01:00
committed by Jeremiah Russell
parent aaa4ebcbde
commit df9d2b6c8a
2 changed files with 17 additions and 12 deletions

View File

@@ -1,13 +1,13 @@
//! Integration tests for the init CLI command.
use assert_cmd::prelude::*;
use assert_fs::prelude::*;
use assert_fs::fixture::ChildPath;
use assert_fs::prelude::*;
use predicates::prelude::*;
use std::process::Command;
/// Creates a mock OAuth2 credential file with test data.
///
///
/// This helper function creates a valid OAuth2 credential JSON file
/// suitable for testing credential file handling without using real credentials.
fn create_mock_credential_file(credential_file: &ChildPath) {