BLS & Multi-BLS signature verification #433
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
vm/tests/test_crypto.rs|63 col 5| warning: used assert_eq!
with a literal bool
--> vm/tests/test_crypto.rs:63:5
|
63 | assert_eq!(success, true, "BLS signature verification failed");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: #[warn(clippy::bool_assert_comparison)]
on by default
help: replace it with assert!(..)
|
63 - assert_eq!(success, true, "BLS signature verification failed");
63 + assert!(success, "BLS signature verification failed");
|
vm/tests/test_crypto.rs|102 col 5| warning: used assert_eq!
with a literal bool
--> vm/tests/test_crypto.rs:102:5
|
102 | / assert_eq!(
103 | | success, true,
104 | | "Aggregated BLS signature verification failed"
105 | | );
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with assert!(..)
|
102 ~ assert!(
103 ~ success,
|
Filtered Findings (0)
Annotations
Check warning on line 63 in vm/tests/test_crypto.rs
github-actions / clippy
[clippy] vm/tests/test_crypto.rs#L63
warning: used `assert_eq!` with a literal bool
--> vm/tests/test_crypto.rs:63:5
|
63 | assert_eq!(success, true, "BLS signature verification failed");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: `#[warn(clippy::bool_assert_comparison)]` on by default
help: replace it with `assert!(..)`
|
63 - assert_eq!(success, true, "BLS signature verification failed");
63 + assert!(success, "BLS signature verification failed");
|
Raw output
vm/tests/test_crypto.rs:63:5:w:warning: used `assert_eq!` with a literal bool
--> vm/tests/test_crypto.rs:63:5
|
63 | assert_eq!(success, true, "BLS signature verification failed");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: `#[warn(clippy::bool_assert_comparison)]` on by default
help: replace it with `assert!(..)`
|
63 - assert_eq!(success, true, "BLS signature verification failed");
63 + assert!(success, "BLS signature verification failed");
|
__END__
Check warning on line 102 in vm/tests/test_crypto.rs
github-actions / clippy
[clippy] vm/tests/test_crypto.rs#L102
warning: used `assert_eq!` with a literal bool
--> vm/tests/test_crypto.rs:102:5
|
102 | / assert_eq!(
103 | | success, true,
104 | | "Aggregated BLS signature verification failed"
105 | | );
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
102 ~ assert!(
103 ~ success,
|
Raw output
vm/tests/test_crypto.rs:102:5:w:warning: used `assert_eq!` with a literal bool
--> vm/tests/test_crypto.rs:102:5
|
102 | / assert_eq!(
103 | | success, true,
104 | | "Aggregated BLS signature verification failed"
105 | | );
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
102 ~ assert!(
103 ~ success,
|
__END__