From 3b87f862ea0aefe26cbe91410f0101096715f2bf Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 17 Sep 2024 06:19:22 -0500 Subject: [PATCH] update ffmpeg tests --- src/rust/ffmpeg.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rust/ffmpeg.rs b/src/rust/ffmpeg.rs index 98ab7bd..28c0b61 100644 --- a/src/rust/ffmpeg.rs +++ b/src/rust/ffmpeg.rs @@ -91,13 +91,11 @@ mod test { #[test] fn test_bg_video_creation() { - let video = Path::new( - "/home/chris/vids/All WebDev Sucks and you know it.webm", - ); + let video = Path::new("/home/chris/vids/moms-funeral.mp4"); let screenshot = bg_path_from_video(video); let screenshot_string = screenshot.to_str().expect("Should be thing"); - assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/All WebDev Sucks and you know it.png"); + assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/moms-funeral.png"); // let runtime = tokio::runtime::Runtime::new().unwrap(); let result = bg_from_video(video, &screenshot);