testing: some other test data fixes
This commit is contained in:
parent
24b444567a
commit
1b3e67ada1
2 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue