Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add update tests #1083

Merged
merged 14 commits into from
Aug 23, 2024
Prev Previous commit
Next Next commit
fix fmt
  • Loading branch information
andrew-fleming committed Aug 6, 2024
commit 027962fb96156a1605f2e160bfc27f40d3348fa1
2 changes: 1 addition & 1 deletion packages/token/src/tests/erc20/test_erc20.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,8 @@ fn assert_state_before_transfer(sender: ContractAddress, recipient: ContractAddr
let state = COMPONENT_STATE();
let initial_supply = SUPPLY;
let current_supply = state.total_supply();
assert_eq!(initial_supply, current_supply);

assert_eq!(initial_supply, current_supply);
assert_eq!(state.balance_of(sender), SUPPLY);
assert!(state.balance_of(recipient).is_zero());
}
Expand Down