use pukram2html::convert;
#[test]
fn special() {
let pukram_text = r"
- Link: Example-Link https://example.com
- Image: example.jpg https://example.com/image.jpg
- Audio: https://example.com/audio.mp3
";
let mut html_output: Vec = Vec::new();
let text_info = convert(pukram_text.lines(), &mut html_output);
assert_eq!(std::str::from_utf8(&html_output).unwrap(), "\nExample-Link\n
\n\n
\n
\n");
assert_eq!(text_info.lines, 0);
assert_eq!(text_info.words, 0);
assert_eq!(text_info.chars, 0);
}