diff --git a/src/block.rs b/src/block.rs index 17cf8bc..8bfae96 100644 --- a/src/block.rs +++ b/src/block.rs @@ -513,7 +513,7 @@ mod test { } #[test] - fn block_code_block_seq() { + fn block_code_block() { test_block!( concat!( "```` lang\n", @@ -539,5 +539,15 @@ mod test { "```", 3, ); + test_block!( + concat!( + "``` no space in lang specifier\n", + "l0\n", + "```\n", // + ), + Block::Leaf(Paragraph), + "", + 3, + ); } }