PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
test: supply Fill & Sign colour in combined window-title fixture
FredAppsa07f94f2f752
diff --git a/crates/ui-egui/tests/it/viewer.rs b/crates/ui-egui/tests/it/viewer.rsindex 85e11616b..3d824b9ea 100644--- a/crates/ui-egui/tests/it/viewer.rs+++ b/crates/ui-egui/tests/it/viewer.rs@@ -1046,7 +1046,7 @@ fn the_window_title_marks_a_draft_that_is_not_applied_yet() {h.run_steps(2);assert_eq!(h.state().window_title, "b.pdf — PdfCraft");let i = h.state().active.unwrap();- h.state_mut().views[i].fill_text = Some(TypeBox { page: 0, at: [40.0, 200.0], text: "Typed".into(), size: 10.0, focus: false });+ h.state_mut().views[i].fill_text = Some(TypeBox { page: 0, at: [40.0, 200.0], text: "Typed".into(), size: 10.0, color: [0.0; 3], focus: false });h.run_steps(2);let s = h.state();assert!(!s.session.get(s.views[i].id).unwrap().dirty, "nothing applied to the document yet");