From b69250d61a832e0dc226570d9cd8633a8e3a0e6c Mon Sep 17 00:00:00 2001 From: Dariusz Depta Date: Fri, 10 Nov 2023 15:36:53 +0100 Subject: [PATCH] Fixed clippy warnings. --- tests/test_app_builder/test_with_stargate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_app_builder/test_with_stargate.rs b/tests/test_app_builder/test_with_stargate.rs index e1b4c34c..04296760 100644 --- a/tests/test_app_builder/test_with_stargate.rs +++ b/tests/test_app_builder/test_with_stargate.rs @@ -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; @@ -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