Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 24, 2025
1 parent d1b78ca commit f54fbd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ unconstrained fn burn_public_on_behalf_of_other() {
utils::check_public_balance(token_contract_address, owner, mint_amount - burn_amount);
}

#[test(should_fail_with = "attempt to subtract with underflow")]
#[test(should_fail_with = "Assertion failed: attempt to subtract with overflow 'self - other'")]
unconstrained fn burn_public_failure_more_than_balance() {
let (env, token_contract_address, owner, _, mint_amount) =
utils::setup_and_mint_to_public(/* with_account_contracts */ false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unconstrained fn transfer_to_private_transfer_not_prepared() {
);
}

#[test(should_fail_with = "Assertion failed: attempt to subtract with underflow 'hi == high'")]
#[test(should_fail_with = "Assertion failed: attempt to subtract with overflow 'self - other'")]
unconstrained fn transfer_to_private_failure_not_an_owner() {
// Setup without account contracts. We are not using authwits here, so dummy accounts are enough
let (env, token_contract_address, owner, not_owner, amount) =
Expand Down

0 comments on commit f54fbd9

Please sign in to comment.