Skip to content

Commit

Permalink
Fix clippy errors and test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHartnell committed Jan 3, 2024
1 parent 28e1d24 commit bf10ed9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions contracts/external/cw-abc/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ use crate::{
};

pub(crate) mod prelude {
pub use super::{
default_instantiate_msg, default_supply_metadata, TEST_CREATOR, TEST_RESERVE_DENOM,
TEST_SUPPLY_DENOM, _TEST_BUYER, _TEST_INVESTOR,
};
pub use crate::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};
pub use super::{default_instantiate_msg, TEST_RESERVE_DENOM};
pub use speculoos::prelude::*;
}

Expand Down
3 changes: 3 additions & 0 deletions contracts/external/dao-abc-factory/src/test_tube/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
// and also, tarpaulin will not be able read coverage out of wasm binary anyway
#![cfg(not(tarpaulin))]

#[cfg(feature = "test-tube")]
mod integration_tests;

#[cfg(feature = "test-tube")]
mod test_env;
2 changes: 1 addition & 1 deletion packages/cw-paginate-storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ mod tests {
map.save(
&mut deps.storage,
ctr,
&Uint128::new(ctr.try_into().unwrap()),
&Uint128::new(<u32 as std::convert::Into<u128>>::into(ctr)),
env.block.height,
)
.unwrap();
Expand Down

0 comments on commit bf10ed9

Please sign in to comment.