From b1178a9e2013cad3974ad62fc8b6fa8c79172ee4 Mon Sep 17 00:00:00 2001 From: malik Date: Sat, 9 Nov 2024 12:27:05 +0100 Subject: [PATCH] fix test --- src/entities/fractions/currency_amount.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/fractions/currency_amount.rs b/src/entities/fractions/currency_amount.rs index 15b1e85..9c93b6e 100644 --- a/src/entities/fractions/currency_amount.rs +++ b/src/entities/fractions/currency_amount.rs @@ -245,7 +245,7 @@ mod tests { #[test] fn to_significant_0_decimals() { let amount = CurrencyAmount::from_raw_amount(TOKEN0.clone(), 123456).unwrap(); - assert_eq!(amount.to_significant(4, None).unwrap(), "123400"); + assert_eq!(amount.to_significant(4, None).unwrap(), "123500"); } #[test]