[repo] Undo cargo fmt churn in files this branch does not change; CLAUDE.md: the trap
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user