Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
malik672 committed Nov 9, 2024
1 parent b96be45 commit b1178a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/fractions/currency_amount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b1178a9

Please sign in to comment.