(cherry picked from commit 36a294aae0)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-09-03 17:16:59 +09:00
committed by GitHub
parent 8f02fdcc11
commit 991f188f23

View File

@ -8571,7 +8571,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...