diff --git a/crates/pdf/src/tests.rs b/crates/pdf/src/tests.rs index 90372d6c..d135d9f6 100644 --- a/crates/pdf/src/tests.rs +++ b/crates/pdf/src/tests.rs @@ -139,8 +139,9 @@ fn text_layer_links_and_bookmarks_survive_serialization() { } } -/// Links from an untrusted deck: scripts, `data:` and network shares (a UNC path leaks the user's -/// NTLM credentials on Windows) do not become PDF links; web, mail, local and relative links do. +/// Links from an untrusted deck: only web and mail links become PDF links. Scripts, `data:`, +/// local and relative files, OS protocol handlers and network shares (a UNC path leaks the user's +/// NTLM credentials on Windows) do not. #[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] #[cfg_attr(not(target_arch = "wasm32"), test)] fn unsafe_url_links_are_not_exported() { diff --git a/crates/ui-egui/src/units_tests.rs b/crates/ui-egui/src/units_tests.rs index 5a0aceb6..0256098f 100644 --- a/crates/ui-egui/src/units_tests.rs +++ b/crates/ui-egui/src/units_tests.rs @@ -50,9 +50,6 @@ fn the_format_pane_shows_and_takes_centimetres() { app.ui.tab = "Shape Format".into(); let mut h = harness(app); h.run_steps(3); - if let (Ok(path), Ok(img)) = (std::env::var("DECKCRAFT_PNG_OUT_UNITS"), h.render()) { - let _ = img.save(path); - } h.state_mut().ui.tab = "Home".into(); h.run_steps(3); let shown = text_values(&h);