From dc5b32fedef451a82caca70e6b01d5c2095a599f Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 26 May 2026 09:11:23 +0100 Subject: [PATCH] style(fmt): unbreak rust-ci Test job (cargo fmt drift in seam_contract_tests) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `cargo fmt --check` has been red on main since 2026-05-22 because two let-bindings in tests/seam_contract_tests.rs (lines 433 and 490) were wrapped onto two lines despite fitting on one. Pure mechanical `cargo fmt` output — no semantic change. Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/seam_contract_tests.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/seam_contract_tests.rs b/tests/seam_contract_tests.rs index 38da0c9..4c5d57f 100644 --- a/tests/seam_contract_tests.rs +++ b/tests/seam_contract_tests.rs @@ -433,8 +433,7 @@ fn old_amuck_report_without_schema_version_deserializes_with_default() { "combinations_run": 0, "outcomes": [] }"#; - let report: AmuckReport = - serde_json::from_str(json_str).expect("deserialize old amuck report"); + let report: AmuckReport = serde_json::from_str(json_str).expect("deserialize old amuck report"); assert_eq!( report.schema_version, "2.5", "old AmuckReport missing schema_version must default to '2.5'" @@ -490,8 +489,7 @@ fn old_axial_report_without_schema_version_deserializes_with_default() { "observed_reports": 0, "language": "en" }"#; - let report: AxialReport = - serde_json::from_str(json_str).expect("deserialize old axial report"); + let report: AxialReport = serde_json::from_str(json_str).expect("deserialize old axial report"); assert_eq!( report.schema_version, "2.5", "old AxialReport missing schema_version must default to '2.5'"