Apply review fixes

- crates/ui-egui/src/dialogs/tests.rs
This commit is contained in:
autocraft-bot[bot] committed 2026-11-18 03:20:42 +00:00
1 parent 370b38e69a
commit 2ba369f5d8
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ fn header_footer_apply_keeps_an_existing_date_format() {
use crate::SlideApp;
let mut session = deckcraft_engine::Session::with_new();
session.execute("design.headerFooter", &json!({"date": true, "dateText": "", "dateFormat": "datetime4", "all": true})).unwrap();
// A file whose document-level format is unset, as an imported deck's is.
// A file whose document-level format is unset, as an imported deck's is when its date field is not one of the thirteen kinds.
Arc::make_mut(&mut session.doc_mut().unwrap().doc).header_footer.date_format = String::new();
let date_fields = |app: &SlideApp| -> Vec<String> {
app.session