Skip to content

Commit

Permalink
clean up commas
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington authored and HaoranYi committed Feb 7, 2024
1 parent d1407f9 commit 9548551
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions accounts-db/src/rent_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ mod tests {
let mut account_clone = account.clone();
assert_eq!(
rent_collector
.collect_from_existing_account(&Pubkey::default(), &mut account_clone,),
.collect_from_existing_account(&Pubkey::default(), &mut account_clone),
CollectedInfo::default()
);
assert_eq!(account_clone, account);
Expand All @@ -253,7 +253,7 @@ mod tests {
account_expected.set_rent_epoch(RENT_EXEMPT_RENT_EPOCH);
assert_eq!(
rent_collector
.collect_from_existing_account(&Pubkey::default(), &mut account_clone,),
.collect_from_existing_account(&Pubkey::default(), &mut account_clone),
CollectedInfo::default()
);
assert_eq!(account_clone, account_expected);
Expand All @@ -270,7 +270,7 @@ mod tests {
account_expected.set_rent_epoch(RENT_EXEMPT_RENT_EPOCH);
assert_eq!(
rent_collector
.collect_from_existing_account(&incinerator::id(), &mut account_clone,),
.collect_from_existing_account(&incinerator::id(), &mut account_clone),
CollectedInfo::default()
);
assert_eq!(account_clone, account_expected);
Expand All @@ -295,7 +295,7 @@ mod tests {
let mut account_clone = account.clone();
assert_eq!(
rent_collector
.collect_from_existing_account(&Pubkey::default(), &mut account_clone,),
.collect_from_existing_account(&Pubkey::default(), &mut account_clone),
CollectedInfo {
rent_amount: rent_due_expected,
account_data_len_reclaimed: 0
Expand All @@ -318,7 +318,7 @@ mod tests {
account_expected.set_rent_epoch(RENT_EXEMPT_RENT_EPOCH);
assert_eq!(
rent_collector
.collect_from_existing_account(&Pubkey::default(), &mut account_clone,),
.collect_from_existing_account(&Pubkey::default(), &mut account_clone),
CollectedInfo::default()
);
assert_eq!(account_clone, account_expected);
Expand All @@ -336,7 +336,7 @@ mod tests {
let mut account_clone = account.clone();
assert_eq!(
rent_collector
.collect_from_existing_account(&Pubkey::default(), &mut account_clone,),
.collect_from_existing_account(&Pubkey::default(), &mut account_clone),
CollectedInfo::default()
);
assert_eq!(account_clone, account);
Expand Down

0 comments on commit 9548551

Please sign in to comment.