File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -233,23 +233,24 @@ mod tests {
233
233
fn test_address ( ) {
234
234
// GET /api/address/:address
235
235
let binding = format ! ( "address/1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) . clone ( ) ;
236
- let prices : & str = blocking ( & binding) . expect ( "test_address failed" ) ;
237
- let prices = generic_sys_call ( "address" , "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) ;
236
+ let address : & str = blocking ( & binding) . expect ( "test_address failed" ) ;
237
+ let address = generic_sys_call ( "address" , "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) ;
238
238
wait ( "1" ) ;
239
239
}
240
240
#[ test]
241
241
fn test_address_txs ( ) {
242
242
// GET /api/address/:address/txs
243
243
let binding = format ! ( "address/1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv/txs" ) . clone ( ) ;
244
- let prices : & str = blocking ( & binding) . expect ( "REASON " ) ;
245
- let prices = generic_sys_call ( "address_txs" , "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) ;
244
+ let address_txs : & str = blocking ( & binding) . expect ( "test_address_txs failed " ) ;
245
+ let address_txs = generic_sys_call ( "address_txs" , "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) ;
246
246
wait ( "1" ) ;
247
247
}
248
248
#[ test]
249
249
fn test_address_txs_chain ( ) {
250
250
// GET /api/address/:address/txs/chain
251
251
let binding = format ! ( "address/1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv/txs/chain" ) . clone ( ) ;
252
- let prices: & str = blocking ( & binding) . expect ( "REASON" ) ;
252
+ let address_txs_chain: & str = blocking ( & binding) . expect ( "REASON" ) ;
253
+ let address_txs_chain = generic_sys_call ( "address_txs_chain" , "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv" ) ;
253
254
wait ( "1" ) ;
254
255
}
255
256
#[ test]
You can’t perform that action at this time.
0 commit comments