We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8fa74 commit 71824cdCopy full SHA for 71824cd
integration_test/tests/network.rs
@@ -146,8 +146,8 @@ fn network__set_ban() {
146
fn network__set_network_active() {
147
let node = Node::with_wallet(Wallet::None, &[]);
148
let json: SetNetworkActive = node.client.set_network_active(false).expect("setnetworkactive false");
149
- assert!(json.0 == false);
+ assert!(!json.0);
150
151
let json: SetNetworkActive = node.client.set_network_active(true).expect("setnetworkactive true");
152
- assert!(json.0 == true);
+ assert!(json.0);
153
}
0 commit comments