From ec3349ad966bf3a7980b9f859cb9a036fd46cc20 Mon Sep 17 00:00:00 2001 From: chairmanpow Date: Fri, 2 Oct 2026 13:37:01 +0100 Subject: [PATCH] fmt: repro_mail.rs, and the hand-taken zip snapshot ignored `cargo fmt --all` wanted a `vec!` wrap and a trailing newline in repro_mail.rs, which `main` has been carrying unformatted. The gate is `cargo fmt --all -- --check`, so it was red before this and for nothing to do with the changes around it. `benilla-octo.zip` is a zipped snapshot of this checkout, taken by hand to move the tree somewhere. It is binary, redundant with the history it would land in, and 10 MB of it. --- .gitignore | 4 ++++ crates/benilla-app/tests/repro_mail.rs | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 11050328..36ae1bd5 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,7 @@ __pycache__/ # The vanilla addon corpus the UI engine's real-addon tests read (third-party content): a symlink # beside `WoW`, or `BENILLA_ADDON_CORPUS`. /wow-addons-vanilla + +# A zipped snapshot of this checkout, taken by hand to move the tree somewhere. Binary, and +# redundant with the history it would land in. +/benilla-octo.zip diff --git a/crates/benilla-app/tests/repro_mail.rs b/crates/benilla-app/tests/repro_mail.rs index 55b19e30..9d51fc42 100644 --- a/crates/benilla-app/tests/repro_mail.rs +++ b/crates/benilla-app/tests/repro_mail.rs @@ -116,7 +116,10 @@ fn repro() { let mut s = UiScript::new().unwrap(); load_ui(&s); s.set_mail(Some(MailState { - inbox: vec![row(None, "Welcome", 0, 0), row(Some("Jaina"), "second", 0, 0)], + inbox: vec![ + row(None, "Welcome", 0, 0), + row(Some("Jaina"), "second", 0, 0), + ], })); s.fire_event("MAIL_SHOW", vec![]); s.fire_event("MAIL_INBOX_UPDATE", vec![]); @@ -131,4 +134,4 @@ fn repro() { let errs = s.take_errors(); eprintln!("errors after empty re-list: {errs:#?}"); assert!(true); -} \ No newline at end of file +}