From 8a6e08170734b5280b4a443af63cd9fa1c6ee9b0 Mon Sep 17 00:00:00 2001 From: Andrew McKenzie Date: Fri, 4 Aug 2023 14:44:59 +0100 Subject: [PATCH] tidy up --- iot_verifier/src/poc.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/iot_verifier/src/poc.rs b/iot_verifier/src/poc.rs index 1cb8ad54a..7099909d8 100644 --- a/iot_verifier/src/poc.rs +++ b/iot_verifier/src/poc.rs @@ -1028,10 +1028,15 @@ mod tests { .try_into() .unwrap(); assert!(verify_denylist(&PublicKeyBinary::from_str(PUBKEY1).unwrap(), &deny_list).is_ok()); - assert_eq!(Err(InvalidReason::Denied), verify_denylist(&PublicKeyBinary::from_str(DENIED_PUBKEY1).unwrap(), &deny_list)); + assert_eq!( + Err(InvalidReason::Denied), + verify_denylist( + &PublicKeyBinary::from_str(DENIED_PUBKEY1).unwrap(), + &deny_list + ) + ); } - #[test] fn test_verify_capability() { assert!(verify_gw_capability(true).is_ok());