testing: some other test data fixes
Some checks failed
/ clippy (push) Successful in 4m44s
/ test (push) Failing after 5m29s

This commit is contained in:
Chris Cochrun 2026-02-23 12:01:39 -06:00
parent 24b444567a
commit 1b3e67ada1
2 changed files with 2 additions and 4 deletions

View file

@ -311,8 +311,6 @@ pub fn load(path: impl AsRef<Path>) -> Result<Vec<ServiceItem>> {
#[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) {

View file

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