[repo] Undo cargo fmt churn in files this branch does not change; CLAUDE.md: the trap

This commit is contained in:
2026-11-04 00:27:37 +01:00
parent 06410ab3be
commit 510d5eecd1
7 changed files with 34 additions and 113 deletions
+1 -2
View File
@@ -87,8 +87,7 @@ fn every_private_key_format_imports_to_the_same_key() {
for text in inputs {
// Surrounding whitespace (a paste, a file with CRLF line ends) does not matter.
let pasted = format!("\r\n {}\r\n", text.replace('\n', "\r\n"));
let i = custos_keys::import(&pasted, "deploy")
.unwrap_or_else(|e| panic!("{alg:?} {}: {e:?}", text.lines().next().unwrap()));
let i = custos_keys::import(&pasted, "deploy").unwrap_or_else(|e| panic!("{alg:?} {}: {e:?}", text.lines().next().unwrap()));
assert_eq!((i.algorithm.as_str(), i.fingerprint.as_str()), (alg.name(), k.fingerprint.as_str()), "{alg:?}");
assert_eq!(i.public_pem, k.public_pem);
}