use super::*; #[test] fn test_simple_photo() { test_html_compile!( "$$photo(img.png) I am the caption" => "
", "
I am the caption
", "
" ); } #[test] fn test_multiple_photo() { test_html_compile!( "$$photo(img.png) I am the caption\n", "$$photo(img.png)\n", " I\n", " am\n", " the\n", " caption\n\n", "I am a normal paragraph." => "
", "
I am the caption
", "
", "
", "
I am the caption
", "
", "

I am a normal paragraph.

" ); }