aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils/to_swc.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-04 10:29:30 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-04 10:29:30 +0200
commit9d90e35d51555d9f853f2eccfa771f47d71a6bc1 (patch)
treeafaa271b06215981a137868f652431ef9ab293f7 /tests/test_utils/to_swc.rs
parent3a1fd1918f65c0a751a872d66e2d5bb01c64830c (diff)
downloadmarkdown-rs-9d90e35d51555d9f853f2eccfa771f47d71a6bc1.tar.gz
markdown-rs-9d90e35d51555d9f853f2eccfa771f47d71a6bc1.tar.bz2
markdown-rs-9d90e35d51555d9f853f2eccfa771f47d71a6bc1.zip
Refactor to share a test utility
Diffstat (limited to 'tests/test_utils/to_swc.rs')
-rw-r--r--tests/test_utils/to_swc.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_utils/to_swc.rs b/tests/test_utils/to_swc.rs
index 59d60ee..6ed48b6 100644
--- a/tests/test_utils/to_swc.rs
+++ b/tests/test_utils/to_swc.rs
@@ -379,8 +379,6 @@ fn transform_root(
}
}
- // To do: remove whitespace?
- // To do: return a single child if there is one?
Ok(Some(swc_ecma_ast::JSXElementChild::JSXFragment(
create_fragment(nodes, node),
)))