Skip to content

Commit b675130

Browse files
netsiriusiduartgomez
authored andcommitted
improve operations testing
1 parent b28d631 commit b675130

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/src/client_api/client_events.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ mod client_request_test {
14631463
);
14641464
assert_eq!(contract.unwrap_v1().data.data(), &[1, 2, 3, 4, 5, 6, 7, 8]);
14651465
assert_eq!(state.to_vec(), &[1, 2, 3, 4, 5, 6, 7, 8]);
1466-
assert_eq!(subscribe, false);
1466+
assert!(!subscribe);
14671467
}
14681468
_ => panic!("wrong contract request type"),
14691469
}
@@ -1495,7 +1495,7 @@ mod client_request_test {
14951495
} => {
14961496
assert_eq!(key.encoded_contract_id(), EXPECTED_ENCODED_CONTRACT_ID);
14971497
assert!(!fetch_contract);
1498-
assert_eq!(subscribe, false);
1498+
assert!(!subscribe);
14991499
}
15001500
_ => panic!("wrong contract request type"),
15011501
}

0 commit comments

Comments
 (0)