From 9c1aff826590c66bacfb6b6b9c0c65c839783383 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Mon, 18 Aug 2025 22:29:05 +0200 Subject: ci: lint (#11) --- lib/warden-core/src/configuration/conv.rs | 2 +- lib/warden-core/src/google/parser/money.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/warden-core/src') diff --git a/lib/warden-core/src/configuration/conv.rs b/lib/warden-core/src/configuration/conv.rs index 7f982b4..3b0fef9 100644 --- a/lib/warden-core/src/configuration/conv.rs +++ b/lib/warden-core/src/configuration/conv.rs @@ -266,7 +266,7 @@ mod tests { "x": 1, "y": [true, null, "str"], "z": { - "nested": 3.14 + "nested": 3.90 } }); diff --git a/lib/warden-core/src/google/parser/money.rs b/lib/warden-core/src/google/parser/money.rs index a703a4a..c12bfb1 100644 --- a/lib/warden-core/src/google/parser/money.rs +++ b/lib/warden-core/src/google/parser/money.rs @@ -172,7 +172,7 @@ mod tests { #[test] fn test_round_trip_conversion() { - let original = 1234.567_890_123; + let original = 1_234.567_890_123; let money = Money::try_from((original, "USD")).unwrap(); let back: f64 = money.into(); assert!( -- cgit v1.2.3