diff --git a/libs/utils/src/auth.rs b/libs/utils/src/auth.rs index 35d9549323..bd7dda9717 100644 --- a/libs/utils/src/auth.rs +++ b/libs/utils/src/auth.rs @@ -468,7 +468,10 @@ MC4CAQAwBQYDK2VwBCIEID/Drmc1AA6U/znNRWpF3zEGegOATQxfkdWxitcOMsIH // Verify that we can decode the token with matching decoding keys (decoding also verifies the signature). assert_eq!(auth.decode::(&encoded_1).unwrap().claims, claims); assert_eq!(auth.decode::(&encoded_2).unwrap().claims, claims); - assert_eq!(auth_cert_1.decode::(&encoded_1).unwrap().claims, claims); + assert_eq!( + auth_cert_1.decode::(&encoded_1).unwrap().claims, + claims + ); // Verify that the token cannot be decoded with a mismatched decode key. assert!(auth_cert_1.decode::(&encoded_2).is_err());