From 6ba50afe4c4d407b95985f063a21576a3e82421c Mon Sep 17 00:00:00 2001 From: DenisRybas Date: Wed, 7 Feb 2024 10:56:19 +0300 Subject: [PATCH] linted Signed-off-by: DenisRybas --- vdr/src/types/transaction.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/vdr/src/types/transaction.rs b/vdr/src/types/transaction.rs index 6f9a5287..b1288998 100644 --- a/vdr/src/types/transaction.rs +++ b/vdr/src/types/transaction.rs @@ -766,7 +766,8 @@ pub mod test { CONTRACT_METHOD_EXAMPLE, &[], ) - .await.unwrap_err(); + .await + .unwrap_err(); assert!(matches!( error, @@ -781,7 +782,8 @@ pub mod test { CONTRACT_METHOD_EXAMPLE, VALIDATOR_LIST_BYTES.as_slice(), ) - .await.unwrap_err(); + .await + .unwrap_err(); assert!(matches!(error, VdrError::ContractInvalidName { .. })); } @@ -793,7 +795,8 @@ pub mod test { CONTRACT_METHOD_EXAMPLE, VALIDATOR_LIST_BYTES.as_slice(), ) - .await.unwrap_err(); + .await + .unwrap_err(); assert!(matches!(error, VdrError::ContractInvalidName { .. })); } @@ -805,7 +808,8 @@ pub mod test { None, VALIDATOR_LIST_BYTES.as_slice(), ) - .await.unwrap_err(); + .await + .unwrap_err(); assert!(matches!(error, VdrError::ContractInvalidName { .. })); } @@ -817,7 +821,8 @@ pub mod test { INVALID_METHOD, VALIDATOR_LIST_BYTES.as_slice(), ) - .await.unwrap_err(); + .await + .unwrap_err(); assert!(matches!(error, VdrError::ContractInvalidName { .. })); }