fixing test having the right data
This commit is contained in:
parent
5a9f17c139
commit
351eb983c7
|
@ -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
3
test_slides.lisp
Normal 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))
|
Loading…
Reference in a new issue