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:
parent
685444c342
commit
9f1ebb93cb
|
@ -2077,6 +2077,7 @@ mod test {
|
||||||
|
|
||||||
#[cfg(not(fuzzing))]
|
#[cfg(not(fuzzing))]
|
||||||
#[test]
|
#[test]
|
||||||
|
#[allow(clippy::nonminimal_bool)]
|
||||||
fn pubkey_equal() {
|
fn pubkey_equal() {
|
||||||
let pk1 = PublicKey::from_slice(
|
let pk1 = PublicKey::from_slice(
|
||||||
&hex!("0241cc121c419921942add6db6482fb36243faf83317c866d2a28d8c6d7089f7ba"),
|
&hex!("0241cc121c419921942add6db6482fb36243faf83317c866d2a28d8c6d7089f7ba"),
|
||||||
|
|
Loading…
Reference in New Issue