fixing ron_deserialize test for slides
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2026-02-03 06:25:56 -06:00
parent 12cca98a9b
commit 45880c832a
2 changed files with 9 additions and 3 deletions

View file

@ -26,7 +26,7 @@ pub struct Slide {
font: String,
font_size: i32,
stroke_size: i32,
stroke_color: Rgba,
stroke_color: Option<Rgba>,
text_alignment: TextAlignment,
audio: Option<PathBuf>,
video_loop: bool,
@ -756,8 +756,8 @@ mod test {
Ok(_s) => {
assert!(true)
}
Err(_e) => {
assert!(false)
Err(e) => {
assert!(false, "{:?}", e)
}
}
}

View file

@ -8,10 +8,13 @@
text: "This is Frodo",
font: "Quicksand",
font_size: 50,
stroke_size: 0,
stroke_color: None,
text_alignment: MiddleCenter,
video_loop: false,
video_start_time: 0.0,
video_end_time: 0.0,
pdf_index: 0,
),
(
@ -23,9 +26,12 @@
text: "This is Frodo",
font: "Quicksand",
font_size: 50,
stroke_size: 0,
stroke_color: None,
text_alignment: MiddleCenter,
video_loop: false,
video_start_time: 0.0,
video_end_time: 0.0,
pdf_index: 0,
)
]