Skip to content

Commit

Permalink
Fix clippy-reported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jul 1, 2024
1 parent ede8b37 commit b232351
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/atom_wars/src/testing.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::contract::{query_whitelist, query_whitelist_admins, MAX_LOCK_ENTRIES};
use crate::query::QueryMsg;
use crate::state::Tranche;
use crate::{
contract::{
Expand Down Expand Up @@ -459,7 +458,7 @@ fn test_query_round_tranche_proposals_pagination() {
mock_env(),
mock_info("addr0000", &[Coin::new(1000, STATOM.to_string())]),
);
let mut msg = get_default_instantiate_msg();
let msg = get_default_instantiate_msg();

let res = instantiate(deps.as_mut(), env.clone(), info.clone(), msg.clone());
assert!(res.is_ok());
Expand Down Expand Up @@ -793,7 +792,7 @@ fn test_too_many_locks() {
mock_env(),
mock_info("addr0000", &[Coin::new(1000, STATOM.to_string())]),
);
let mut msg = get_default_instantiate_msg();
let msg = get_default_instantiate_msg();

let res = instantiate(deps.as_mut(), env.clone(), info.clone(), msg.clone());
assert!(res.is_ok());
Expand Down

0 comments on commit b232351

Please sign in to comment.