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.
This commit is contained in:
chairmanpow
2026-10-02 13:37:01 +01:00
parent 7d7ae749ab
commit ec3349ad96
2 changed files with 9 additions and 2 deletions
+4
View File
@@ -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
+5 -2
View File
@@ -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);
}
}