diff --git a/src/key.rs b/src/key.rs index e650f3d..ee52b81 100644 --- a/src/key.rs +++ b/src/key.rs @@ -1084,7 +1084,7 @@ mod test { // Zero assert_eq!(SecretKey::from_slice(&[0; 32]), Err(InvalidSecretKey)); assert_eq!( - SecretKey::from_str(&format!("0000000000000000000000000000000000000000000000000000000000000000")), + SecretKey::from_str("0000000000000000000000000000000000000000000000000000000000000000"), Err(InvalidSecretKey) ); // -1