diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mdx_expression_flow.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mdx_expression_flow.rs b/tests/mdx_expression_flow.rs index 4281e5d..559e08c 100644 --- a/tests/mdx_expression_flow.rs +++ b/tests/mdx_expression_flow.rs @@ -96,6 +96,12 @@ fn mdx_expression_flow_agnostic() -> Result<(), String> { ); assert_eq!( + to_html_with_options("a\n\n* b", &mdx)?, + "<p>a</p>\n<ul>\n<li>b</li>\n</ul>", + "should support lists after non-expressions (GH-11)" + ); + + assert_eq!( to_html_with_options("> {a\nb}", &mdx) .err() .unwrap(), |