From bc0de9955c375cf27d52c9934403964205afc182 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 29 Oct 2026 22:16:15 +0100 Subject: formatting --- tests/tofu.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/tofu.rs') diff --git a/tests/tofu.rs b/tests/tofu.rs index 4f59d6d..b644cc4 100644 --- a/tests/tofu.rs +++ b/tests/tofu.rs @@ -74,7 +74,10 @@ fn fingerprint_is_sha256_of_spki() { let expected = openssl_spki_sha256(dir.join("primary.pem").to_str().unwrap()); let fp = spki_fingerprint(&der).expect("must parse the test certificate"); - assert_eq!(fp, expected, "fingerprint must equal openssl's SPKI SHA-256"); + assert_eq!( + fp, expected, + "fingerprint must equal openssl's SPKI SHA-256" + ); } #[test] @@ -90,10 +93,7 @@ fn first_contact_trusts_and_records() { #[test] fn matching_key_is_trusted() { - assert_eq!( - decide(Some("ab12cd34"), "ab12cd34"), - TrustDecision::Trusted - ); + assert_eq!(decide(Some("ab12cd34"), "ab12cd34"), TrustDecision::Trusted); } #[test] -- cgit v1.2.3