fix some tests
This commit is contained in:
parent
6e4fe70838
commit
39f797f8de
2 changed files with 5 additions and 8 deletions
|
|
@ -522,13 +522,7 @@ mod test {
|
|||
#[test]
|
||||
pub fn test_pres() {
|
||||
let pres = Presentation::new();
|
||||
assert_eq!(
|
||||
pres.get_kind(),
|
||||
&PresKind::Pdf {
|
||||
starting_index: 0,
|
||||
ending_index: 0,
|
||||
}
|
||||
)
|
||||
assert_eq!(pres.get_kind(), &PresKind::Generic)
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
|
|
|||
|
|
@ -170,7 +170,10 @@ mod test {
|
|||
background: Some(Background::try_from("file:///home/chris/nc/tfc/openlp/CMG - Bright Mountains 01.jpg").unwrap()),
|
||||
text_alignment: Some(TextAlignment::MiddleCenter),
|
||||
font: Some("Quicksand Bold".to_string()),
|
||||
font_size: Some(60)
|
||||
font_size: Some(60),
|
||||
stroke_size: Some(2),
|
||||
verses: None,
|
||||
verse_map: None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue