This commit is contained in:
Ryo Onodera 2020-09-03 16:28:54 +09:00 committed by GitHub
parent fb71ee60aa
commit 36a294aae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -8570,7 +8570,10 @@ mod tests {
// assert that everything gets in order....
assert!(bank1.get_account(&reward_pubkey).is_none());
assert_eq!(bank0.capitalization() + 1, bank1.capitalization());
assert_eq!(
bank0.capitalization() + 1 + 1_000_000_000,
bank1.capitalization()
);
assert_eq!(bank1.capitalization(), bank1.calculate_capitalization());
// Depending on RUSTFLAGS, this test exposes rust's checked math behavior or not...