From d98e4b69db7e5750766db958a067a7e5caf192d1 Mon Sep 17 00:00:00 2001 From: garikbesson Date: Tue, 29 Oct 2024 17:27:26 +0100 Subject: [PATCH] try to fix close_account_non_empty_balance test --- tests/tests/storage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests/storage.rs b/tests/tests/storage.rs index 31d236a..247c51d 100644 --- a/tests/tests/storage.rs +++ b/tests/tests/storage.rs @@ -250,7 +250,7 @@ async fn close_account_non_empty_balance() -> anyhow::Result<()> { .max_gas() .deposit(ONE_YOCTO) .transact() - .await; + .await?; assert!(format!("{:?}", res) .contains("Can't unregister the account with the positive balance without force")); @@ -260,7 +260,7 @@ async fn close_account_non_empty_balance() -> anyhow::Result<()> { .max_gas() .deposit(ONE_YOCTO) .transact() - .await; + .await?; assert!(format!("{:?}", res) .contains("Can't unregister the account with the positive balance without force"));