1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 06:45:32 +00:00

fix: Apply rustfmt formatting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-06-08 11:56:22 -04:00
parent 618525b7ed
commit 739a80fe1e
Failed to extract signature

View file

@ -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