block: expand parse_attr test
This commit is contained in:
parent
e84385c2db
commit
edd89f2b20
1 changed files with 16 additions and 0 deletions
16
src/block.rs
16
src/block.rs
|
@ -1694,6 +1694,22 @@ mod test {
|
|||
(Inline, "para"),
|
||||
(Exit(Leaf(Paragraph)), ""),
|
||||
);
|
||||
test_parse!(
|
||||
concat!(
|
||||
"{.a}\n", //
|
||||
"\n", //
|
||||
"{.b}\n", //
|
||||
"\n", //
|
||||
"para\n", //
|
||||
),
|
||||
(Atom(Attributes), "{.a}\n"),
|
||||
(Atom(Blankline), "\n"),
|
||||
(Atom(Attributes), "{.b}\n"),
|
||||
(Atom(Blankline), "\n"),
|
||||
(Enter(Leaf(Paragraph)), ""),
|
||||
(Inline, "para"),
|
||||
(Exit(Leaf(Paragraph)), ""),
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue