aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gfm_task_list_item.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:54:39 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:55:44 +0200
commitb33a81e40620b8b3eaeeec9d0e0b34ca5958dead (patch)
treec91e56db38777b30cdcef591d0f7cd9bd1ac0ee8 /tests/gfm_task_list_item.rs
parenta0c84c505d733be2e987a333a34244c1befb56cb (diff)
downloadmarkdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.gz
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.bz2
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.zip
Add support for turning mdast to hast
Diffstat (limited to 'tests/gfm_task_list_item.rs')
-rw-r--r--tests/gfm_task_list_item.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/gfm_task_list_item.rs b/tests/gfm_task_list_item.rs
index ae6c548..1a0b682 100644
--- a/tests/gfm_task_list_item.rs
+++ b/tests/gfm_task_list_item.rs
@@ -1,7 +1,9 @@
extern crate micromark;
use micromark::{
- mdast::{List, ListItem, Node, Paragraph, Position, Root, Text},
- micromark, micromark_to_mdast, micromark_with_options, Constructs, Options,
+ mdast::{List, ListItem, Node, Paragraph, Root, Text},
+ micromark, micromark_to_mdast, micromark_with_options,
+ unist::Position,
+ Constructs, Options,
};
use pretty_assertions::assert_eq;