diff --git a/ci/integration-tests/src/helpers/helper.rs b/ci/integration-tests/src/helpers/helper.rs index 3c685c22d..4d30c1670 100644 --- a/ci/integration-tests/src/helpers/helper.rs +++ b/ci/integration-tests/src/helpers/helper.rs @@ -118,15 +118,16 @@ pub fn create_dao( .unwrap(); let ProposalCreationPolicy::Module { addr: pre_propose } = chain - .orc - .query( - "dao_proposal_single", - &dao_proposal_single::msg::QueryMsg::ProposalCreationPolicy {} - ).unwrap() - .data() - .unwrap() + .orc + .query( + "dao_proposal_single", + &dao_proposal_single::msg::QueryMsg::ProposalCreationPolicy {}, + ) + .unwrap() + .data() + .unwrap() else { - panic!("expected pre-propose module") + panic!("expected pre-propose module") }; chain .orc diff --git a/contracts/external/cw-vesting/src/suite_tests/tests.rs b/contracts/external/cw-vesting/src/suite_tests/tests.rs index f93656c64..2738a3539 100644 --- a/contracts/external/cw-vesting/src/suite_tests/tests.rs +++ b/contracts/external/cw-vesting/src/suite_tests/tests.rs @@ -376,7 +376,12 @@ fn test_slash_while_cancelled_counts_against_owner() { assert_eq!(balance, distributable); let vest = suite.query_vest(); - let Status::Canceled { owner_withdrawable: pre_slash } = vest.status else { panic!("should be canceled") }; + let Status::Canceled { + owner_withdrawable: pre_slash, + } = vest.status + else { + panic!("should be canceled") + }; // register the slash. even though the time of the slash was // during the vest, the contract should deduct this from @@ -390,7 +395,9 @@ fn test_slash_while_cancelled_counts_against_owner() { .unwrap(); let vest = suite.query_vest(); - let Status::Canceled { owner_withdrawable } = vest.status else { panic!("should be canceled") }; + let Status::Canceled { owner_withdrawable } = vest.status else { + panic!("should be canceled") + }; assert_eq!(pre_slash - Uint128::new(10_000_000), owner_withdrawable); }