From c2c554a3d52e6e6c262b32edc36d3fb6d5ec4891 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Mon, 8 Apr 2019 19:35:38 +0800 Subject: [PATCH] test: nested list --- tests/html.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/html.rs b/tests/html.rs index fb2d423..ec8484c 100644 --- a/tests/html.rs +++ b/tests/html.rs @@ -32,3 +32,25 @@ _Section 2_ ) ) } + +#[test] +fn list() { + parse_assert!( + r#"+ 1 + ++ 2 + + - 3 + + - 4 + ++ 5"#, + concat!( + "
" + ) + ) +}