Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
Signed-off-by: DenisRybas <[email protected]>
  • Loading branch information
DenisRybas committed Feb 7, 2024
1 parent 25ebd32 commit 6ba50af
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions vdr/src/types/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ pub mod test {
CONTRACT_METHOD_EXAMPLE,
&[],
)
.await.unwrap_err();
.await
.unwrap_err();

assert!(matches!(
error,
Expand All @@ -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 { .. }));
}
Expand All @@ -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 { .. }));
}
Expand All @@ -805,7 +808,8 @@ pub mod test {
None,
VALIDATOR_LIST_BYTES.as_slice(),
)
.await.unwrap_err();
.await
.unwrap_err();

assert!(matches!(error, VdrError::ContractInvalidName { .. }));
}
Expand All @@ -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 { .. }));
}
Expand Down

0 comments on commit 6ba50af

Please sign in to comment.