From 36a294aae0f185dd215929fd212e8a2742cefa17 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Thu, 3 Sep 2020 16:28:54 +0900 Subject: [PATCH] Fix test (#12013) --- 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 4eedce690d..8c33570ca1 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -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...