Skip to content

Commit

Permalink
revert: use _report notation
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <[email protected]>
  • Loading branch information
0x009922 committed Oct 7, 2024
1 parent 19b9835 commit 00f2ec3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/iroha/tests/integration/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ fn migration_fail_should_not_cause_any_effects() {
"failed_migration_test_domain".parse().expect("Valid");
assert_domain_does_not_exist(&client, &domain_registered_in_migration);

#[allow(unused_must_use)]
upgrade_executor(&client, "executor_with_migration_fail")
let _report = upgrade_executor(&client, "executor_with_migration_fail")
.expect_err("Upgrade should fail due to migration failure");

// Checking that things registered in migration does not exist after failed migration
Expand Down

0 comments on commit 00f2ec3

Please sign in to comment.