Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Update BasicCoin.move #1050

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module NamedAddr::BasicCoin {
}

#[test(account = @0x1)]
#[expected_failure(abort_code = 2)] // Can specify an abort code
#[expected_failure(abort_code = EALREADY_HAS_BALANCE)] // Can specify an abort code
fun publish_balance_already_exists(account: signer) {
publish_balance(&account);
publish_balance(&account);
Expand Down