Skip to content

Commit

Permalink
appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Apr 20, 2023
1 parent 5e8e462 commit b36ecd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ mod check {
account_id: &AccountId,
public_key: &str,
) -> anyhow::Result<()> {
let access_keys = ctx.worker.view_access_keys(&account_id).await?;
let access_keys = ctx.worker.view_access_keys(account_id).await?;

if access_keys
.iter()
Expand All @@ -193,7 +193,7 @@ mod check {
ctx: &TestContext<'a>,
account_id: &AccountId,
) -> anyhow::Result<()> {
if let Err(_) = ctx.worker.view_account(account_id).await {
if ctx.worker.view_account(account_id).await.is_err() {
Ok(())
} else {
Err(anyhow::anyhow!(
Expand Down

0 comments on commit b36ecd1

Please sign in to comment.