Skip to content

Commit

Permalink
✅ Add forgotten tests for emoty list items
Browse files Browse the repository at this point in the history
These were supposed to be part of commit e339915
  • Loading branch information
micgro42 committed Oct 19, 2018
1 parent c21c34c commit 54a992c
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
79 changes: 79 additions & 0 deletions _test/json/list_hanging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"type": "doc",
"content": [
{
"type": "bullet_list",
"content": [
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": " single list item"
}
]
}
]
},
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": " another first lvl li"
}
]
},
{
"type": "bullet_list",
"content": [
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": " second level li"
}
]
}
]
}
]
}
]
},
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": " again first level li"
}
]
}
]
},
{
"type": "list_item",
"content": [
{
"type": "paragraph"
}
]
}
]
}
]
}
5 changes: 5 additions & 0 deletions _test/json/list_hanging.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* single list item
* another first lvl li
* second level li
* again first level li
*

0 comments on commit 54a992c

Please sign in to comment.