Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

fix(ui-egui): adjust include_bytes path in editing test after tests/it migration

Combiler01112b34b305c2
diff --git a/crates/ui-egui/tests/it/editing.rs b/crates/ui-egui/tests/it/editing.rs
index b039dc821..a597801ca 100644
--- a/crates/ui-egui/tests/it/editing.rs
+++ b/crates/ui-egui/tests/it/editing.rs
@@ -6317,7 +6317,7 @@ fn test_crop_updates_rect_instantly() {
let mut h = Harness::builder().with_size(egui::vec2(1400.0, 900.0)).build_eframe(move |_cc| {
let mut app = PdfCraftApp::new();
app.set_option("language", "en").unwrap();
- app.open_bytes("form.pdf", None, include_bytes!("data/form.pdf").to_vec()).unwrap();
+ app.open_bytes("form.pdf", None, include_bytes!("../data/form.pdf").to_vec()).unwrap();
app
});
h.run_steps(4);