Allow nonminimal_bool in unit test

We are explicitly testing various boolean statements, tell clippy to
allow less than minimal statements.
This commit is contained in:
Tobin C. Harding 2022-06-10 12:57:30 +10:00
parent 685444c342
commit 9f1ebb93cb
1 changed files with 1 additions and 0 deletions

View File

@ -2077,6 +2077,7 @@ mod test {
#[cfg(not(fuzzing))]
#[test]
#[allow(clippy::nonminimal_bool)]
fn pubkey_equal() {
let pk1 = PublicKey::from_slice(
&hex!("0241cc121c419921942add6db6482fb36243faf83317c866d2a28d8c6d7089f7ba"),