fixup! inline: word attributes
This commit is contained in:
parent
064b4b1f88
commit
e6eb02ad03
1 changed files with 7 additions and 0 deletions
|
@ -929,6 +929,13 @@ mod test {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn attr() {
|
fn attr() {
|
||||||
|
test_parse!(
|
||||||
|
"word{a=b}",
|
||||||
|
(Attributes, "{a=b}"),
|
||||||
|
(Enter(Span), ""),
|
||||||
|
(Str, "word"),
|
||||||
|
(Exit(Span), ""),
|
||||||
|
);
|
||||||
test_parse!(
|
test_parse!(
|
||||||
"some word{.a}{.b} with attrs",
|
"some word{.a}{.b} with attrs",
|
||||||
(Str, "some "),
|
(Str, "some "),
|
||||||
|
|
Loading…
Reference in a new issue