Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Update ERC-20 tests
  • Loading branch information
HCastano committed Jan 16, 2023
commit 09e1b533ea337ec48f61eb274921a20c4bd7ea9d
6 changes: 3 additions & 3 deletions examples/erc20/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,12 @@ mod erc20 {
// then
assert_eq!(
total_supply,
total_supply_res.return_value().unwrap(),
total_supply_res.return_value()
"total_supply"
);
assert_eq!(
transfer_to_bob,
balance_of_res.return_value().unwrap(),
balance_of_res.return_value()
"balance_of"
);

Expand Down Expand Up @@ -671,7 +671,7 @@ mod erc20 {

assert_eq!(
total_supply - approved_value,
balance_of_res.return_value().unwrap(),
balance_of_res.return_value()
"balance_of"
);

Expand Down