From 991f188f235b5a94aad6c8afabb5d029145191d6 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2020 17:16:59 +0900 Subject: [PATCH] Fix test (#12013) (#12017) (cherry picked from commit 36a294aae0f185dd215929fd212e8a2742cefa17) Co-authored-by: Ryo Onodera --- runtime/src/bank.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 09f5471dad..d2597f1703 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -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...