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!");