Skip to content

Commit

Permalink
Fixed clippy warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszDepta committed Nov 24, 2023
1 parent b0c66e2 commit 60389b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_app_builder/test_with_stargate.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::test_app_builder::MyKeeper;
use cosmwasm_std::{to_vec, Addr, Empty, QueryRequest};
use cosmwasm_std::{to_json_vec, Addr, Empty, QueryRequest};
use cw_multi_test::{AppBuilder, Executor, Stargate, StargateMsg, StargateQuery};

type MyStargateKeeper = MyKeeper<StargateMsg, StargateQuery, Empty>;
Expand Down Expand Up @@ -44,7 +44,7 @@ fn building_app_with_custom_stargate_should_work() {
// executing stargate query should return an error defined in custom keeper
assert_eq!(
app.wrap()
.raw_query(to_vec(&query).unwrap().as_slice())
.raw_query(to_json_vec(&query).unwrap().as_slice())
.unwrap()
.unwrap_err(),
QUERY_MSG
Expand Down

0 comments on commit 60389b4

Please sign in to comment.