use super::*; #[test] fn test_trailing_eoi_whitespace() { // Previously, this would fail to compile test_html_compile!(" " => ""); } #[test] fn test_final_trailing_whitespace() { // Previously, this would emit

Hello

test_html_compile!("Hello\n" => "

Hello

"); } #[test] fn test_space_before_link() { // Previously, there was no space before the link. test_html_compile!( "Hello [link](href)" => "

Hello link

" ); } #[test] fn test_list_inside_heading() { // Previously, the list was inside the

element. test_html_compile!( "# Hello\n * List item" => "

Hello

" ); } #[test] fn test_bold_at_start_of_para() { // Previously, the bold would be consumed as the start of a list item test_html_compile!( "**Bold**" => "

Bold

" ); }