Skip to content

Commit 71824cd

Browse files
committed
change == false to !
Lint error due to unnecessary `== false`, replace it with `!`
1 parent fd8fa74 commit 71824cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration_test/tests/network.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ fn network__set_ban() {
146146
fn network__set_network_active() {
147147
let node = Node::with_wallet(Wallet::None, &[]);
148148
let json: SetNetworkActive = node.client.set_network_active(false).expect("setnetworkactive false");
149-
assert!(json.0 == false);
149+
assert!(!json.0);
150150

151151
let json: SetNetworkActive = node.client.set_network_active(true).expect("setnetworkactive true");
152-
assert!(json.0 == true);
152+
assert!(json.0);
153153
}

0 commit comments

Comments
 (0)