aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xxx_mdx_plugin_recma_jsx_rewrite.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xxx_mdx_plugin_recma_jsx_rewrite.rs')
-rw-r--r--tests/xxx_mdx_plugin_recma_jsx_rewrite.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/xxx_mdx_plugin_recma_jsx_rewrite.rs b/tests/xxx_mdx_plugin_recma_jsx_rewrite.rs
index b1d2ca8..9b9a4bc 100644
--- a/tests/xxx_mdx_plugin_recma_jsx_rewrite.rs
+++ b/tests/xxx_mdx_plugin_recma_jsx_rewrite.rs
@@ -1,9 +1,9 @@
-extern crate micromark;
+extern crate markdown;
extern crate swc_common;
extern crate swc_ecma_ast;
extern crate swc_ecma_codegen;
mod test_utils;
-use micromark::{micromark_to_mdast, Constructs, Location, ParseOptions};
+use markdown::{to_mdast, Constructs, Location, ParseOptions};
use pretty_assertions::assert_eq;
use test_utils::{
hast_util_to_swc::hast_util_to_swc,
@@ -15,7 +15,7 @@ use test_utils::{
fn from_markdown(value: &str, options: &RewriteOptions) -> Result<String, String> {
let location = Location::new(value.as_bytes());
- let mdast = micromark_to_mdast(
+ let mdast = to_mdast(
value,
&ParseOptions {
constructs: Constructs::mdx(),