From 3085e5aabe0e0a0587500bde6b8bd4e804948234 Mon Sep 17 00:00:00 2001 From: zyycn Date: Sun, 2 Aug 2026 01:35:23 +0800 Subject: [PATCH] style(core): apply rustfmt to decimal canonical test The accounting delegate commit left this test unformatted, which broke `cargo fmt --check` in CI. Co-authored-by: Codex --- backend/crates/gateway-core/tests/accounting/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/crates/gateway-core/tests/accounting/mod.rs b/backend/crates/gateway-core/tests/accounting/mod.rs index def9fa448..d1ed197e4 100644 --- a/backend/crates/gateway-core/tests/accounting/mod.rs +++ b/backend/crates/gateway-core/tests/accounting/mod.rs @@ -17,10 +17,7 @@ fn decimal_canonical_should_strip_trailing_zeroes() { assert_eq!(Decimal::from_str("12.34").unwrap().canonical(), "12.34"); assert_eq!(Decimal::from_str("12").unwrap().canonical(), "12"); assert_eq!(Decimal::from_str("0").unwrap().canonical(), "0"); - assert_eq!( - Decimal::from_str("1.0000000000").unwrap().canonical(), - "1" - ); + assert_eq!(Decimal::from_str("1.0000000000").unwrap().canonical(), "1"); } #[test]