Skip to content

Commit dc5b32f

Browse files
hyperpolymathclaude
andcommitted
style(fmt): unbreak rust-ci Test job (cargo fmt drift in seam_contract_tests)
`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) <noreply@anthropic.com>
1 parent caa407f commit dc5b32f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/seam_contract_tests.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,7 @@ fn old_amuck_report_without_schema_version_deserializes_with_default() {
433433
"combinations_run": 0,
434434
"outcomes": []
435435
}"#;
436-
let report: AmuckReport =
437-
serde_json::from_str(json_str).expect("deserialize old amuck report");
436+
let report: AmuckReport = serde_json::from_str(json_str).expect("deserialize old amuck report");
438437
assert_eq!(
439438
report.schema_version, "2.5",
440439
"old AmuckReport missing schema_version must default to '2.5'"
@@ -490,8 +489,7 @@ fn old_axial_report_without_schema_version_deserializes_with_default() {
490489
"observed_reports": 0,
491490
"language": "en"
492491
}"#;
493-
let report: AxialReport =
494-
serde_json::from_str(json_str).expect("deserialize old axial report");
492+
let report: AxialReport = serde_json::from_str(json_str).expect("deserialize old axial report");
495493
assert_eq!(
496494
report.schema_version, "2.5",
497495
"old AxialReport missing schema_version must default to '2.5'"

0 commit comments

Comments
 (0)