From 284c33a0f5fab2a2c6e2372ac90ddf2f6ded0a5d Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 12 Oct 2026 23:37:40 -0400 Subject: [PATCH] Fix-up: rustfmt check.rs after merging the check PRs Co-Authored-By: Claude Opus 5.5 --- apps/gridcraft-cli/src/check.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/gridcraft-cli/src/check.rs b/apps/gridcraft-cli/src/check.rs index b1ab389..64b5ed6 100644 --- a/apps/gridcraft-cli/src/check.rs +++ b/apps/gridcraft-cli/src/check.rs @@ -1330,9 +1330,8 @@ mod tests { wb.sheet_mut(0).unwrap().cond_formats.push(cf); wb }; - let diffs = |a: &Workbook, b: &Workbook| { - diff_workbooks(a, b, &Options::default()).into_iter().find(|c| c.name == "condFormats").unwrap().diffs - }; + let diffs = + |a: &Workbook, b: &Workbook| diff_workbooks(a, b, &Options::default()).into_iter().find(|c| c.name == "condFormats").unwrap().diffs; assert_eq!(diffs(&with(bar(false, 1)), &with(bar(true, 1))), 1); assert_eq!(diffs(&with(bar(true, 1)), &with(bar(true, 1))), 0); assert_eq!(diffs(&with(bar(true, 1)), &with(bar(true, 5))), 0);