From 1b3e67ada19032860df0c7621e97f4543dbd65fa Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 23 Feb 2026 12:01:39 -0600 Subject: [PATCH] testing: some other test data fixes --- src/core/file.rs | 4 +--- src/ui/text_svg.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/file.rs b/src/core/file.rs index df8b2e3..db00060 100644 --- a/src/core/file.rs +++ b/src/core/file.rs @@ -311,8 +311,6 @@ pub fn load(path: impl AsRef) -> Result> { #[cfg(test)] mod test { - use cosmic::cosmic_theme::palette::Srgb; - use pretty_assertions::assert_eq; use rayon::iter::{IntoParallelIterator, ParallelIterator}; use resvg::usvg::fontdb; @@ -484,7 +482,7 @@ mod test { return false; } } - ServiceItemKind::Content(slide) => todo!(), + ServiceItemKind::Content(_slide) => todo!(), } for slide in &item.slides { if !slide.background().path.starts_with(&cache_dir) { diff --git a/src/ui/text_svg.rs b/src/ui/text_svg.rs index 354b7af..5a40efc 100644 --- a/src/ui/text_svg.rs +++ b/src/ui/text_svg.rs @@ -623,7 +623,7 @@ mod tests { let slide = slide .clone() .set_font_size(120) - .set_font("Quicksand") + .set_font("") .set_shadow(shadow(5, 5, 5, "#000")) .set_stroke(stroke(9, "#000")) .set_text("This is the first slide of text\nAnd we are singing\nTo save the world!");