mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-21 13:51:33 +00:00
ci: run clippy on all targets
A small left-over mistake from moving towards `Cargo.toml` controlled lint configuration. Pull-Request: #4654.
This commit is contained in:
@ -8,6 +8,12 @@
|
||||
|
||||
[PR 4547]: https://github.com/libp2p/rust-libp2p/pull/4547
|
||||
|
||||
<!-- Internal changes:
|
||||
|
||||
- Fix lints in tests
|
||||
|
||||
-->
|
||||
|
||||
## 0.44.5
|
||||
- Migrate to `quick-protobuf-codec` crate for codec logic.
|
||||
See [PR 4501].
|
||||
|
@ -1224,14 +1224,14 @@ mod tests {
|
||||
|
||||
match current {
|
||||
None => {
|
||||
assert_eq!(new.reported, false);
|
||||
assert!(!new.reported);
|
||||
assert_eq!(new.supported, now_supported);
|
||||
}
|
||||
Some(current) => {
|
||||
if current.supported == now_supported {
|
||||
assert_eq!(new.reported, true);
|
||||
assert!(new.reported);
|
||||
} else {
|
||||
assert_eq!(new.reported, false);
|
||||
assert!(!new.reported);
|
||||
}
|
||||
|
||||
assert_eq!(new.supported, now_supported);
|
||||
|
Reference in New Issue
Block a user