fixing test having the right data

This commit is contained in:
Chris Cochrun 2024-11-29 21:14:26 -06:00
parent 5a9f17c139
commit 351eb983c7
2 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,7 @@ mod test {
#[test]
fn test_parsing_lisp() {
let lisp =
read_to_string("./test_presentation.lisp").expect("oops");
read_to_string("./test_slides.lisp").expect("oops");
let lisp_value = crisp::reader::read(&lisp);
let test_vec = vec![test_slide(), test_second_slide()];
match lisp_value {

3
test_slides.lisp Normal file
View file

@ -0,0 +1,3 @@
(slide :background (image :source "~/pics/frodo.jpg" :fit fill)
(text "This is frodo" :font-size 70))
(slide (video :source "~/vids/test/camprules2024.mp4" :fit contain))