File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ async fn api_version_0_0_7() {
233233 ctx. start_and_sync_to ( stop_block) . await ;
234234
235235 let query_res = ctx
236- . query ( & r#"{ testResults{ id, message } }"# . to_string ( ) )
236+ . query ( r#"{ testResults{ id, message } }"# )
237237 . await
238238 . unwrap ( ) ;
239239
@@ -317,7 +317,7 @@ async fn derived_loaders() {
317317 // Where the test cases are documented in the code.
318318
319319 let query_res = ctx
320- . query ( & r#"{ testResult(id:"1_0", block: { number: 1 } ){ id barDerived{id value value2} bBarDerived{id value value2} } }"# . to_string ( ) )
320+ . query ( r#"{ testResult(id:"1_0", block: { number: 1 } ){ id barDerived{id value value2} bBarDerived{id value value2} } }"# )
321321 . await
322322 . unwrap ( ) ;
323323
@@ -365,7 +365,7 @@ async fn derived_loaders() {
365365 ) ;
366366
367367 let query_res = ctx
368- . query ( & r#"{ testResult(id:"1_1", block: { number: 1 } ){ id barDerived{id value value2} bBarDerived{id value value2} } }"# . to_string ( ) )
368+ . query ( r#"{ testResult(id:"1_1", block: { number: 1 } ){ id barDerived{id value value2} bBarDerived{id value value2} } }"# )
369369 . await
370370 . unwrap ( ) ;
371371
@@ -403,7 +403,7 @@ async fn derived_loaders() {
403403 ) ;
404404
405405 let query_res = ctx. query (
406- & r#"{ testResult(id:"2_0" ){ id barDerived{id value value2} bBarDerived{id value value2} } }"# . to_string ( )
406+ r#"{ testResult(id:"2_0" ){ id barDerived{id value value2} bBarDerived{id value value2} } }"#
407407)
408408. await
409409. unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments