Skip to content

Commit

Permalink
fix: do not ignore err
Browse files Browse the repository at this point in the history
  • Loading branch information
sherpalden committed Dec 9, 2024
1 parent 69914b2 commit e0c8c69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contracts/cosmwasm-vm/cw-cluster-connection/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,13 @@ pub fn test_recv_message() {
validators: validators.clone(),
threshold: 2,
};
let _ = execute(
let res = execute(
deps.as_mut(),
env.clone(),
mock_info(ADMIN, &[]),
set_validators_msg,
);
assert!(res.is_ok());

let signatures = vec![sign_1, sign_0];

Expand Down Expand Up @@ -532,12 +533,13 @@ pub fn test_recv_message_signatures_insufficient() {
validators: validators.clone(),
threshold: 2,
};
let _ = execute(
let resp = execute(
deps.as_mut(),
env.clone(),
mock_info(ADMIN, &[]),
set_validators_msg,
);
assert!(resp.is_ok());

let signatures = vec![sign_1];

Expand Down

0 comments on commit e0c8c69

Please sign in to comment.