From 739a80fe1e12ff4901f01b268120180c3af7f19a Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sun, 8 Jun 2025 11:56:22 -0400 Subject: [PATCH] fix: Apply rustfmt formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- tests/credential_helper_integration_test.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/credential_helper_integration_test.rs b/tests/credential_helper_integration_test.rs index 8c54e70..83eed01 100644 --- a/tests/credential_helper_integration_test.rs +++ b/tests/credential_helper_integration_test.rs @@ -27,19 +27,23 @@ fn test_resolve_auth_anonymous() -> Result<()> { // Should resolve to anonymous let auth = resolve_auth("docker.io/library/alpine")?; - + // Debug output for CI if !matches!(auth, RegistryAuth::Anonymous) { eprintln!("Expected Anonymous auth but got: {:?}", auth); eprintln!("DOCKER_CONFIG: {:?}", env::var("DOCKER_CONFIG")); eprintln!("REGISTRY_AUTH_FILE: {:?}", env::var("REGISTRY_AUTH_FILE")); eprintln!("HOME: {:?}", env::var("HOME")); - + // Check if there's a Docker config in the temp dir let config_path = tmp_dir.path().join("config.json"); - eprintln!("Config exists at {:?}: {}", config_path, config_path.exists()); + eprintln!( + "Config exists at {:?}: {}", + config_path, + config_path.exists() + ); } - + assert!(matches!(auth, RegistryAuth::Anonymous)); // Restore env vars