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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user