diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-10-03 17:34:52 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-10-03 17:34:52 +0200 |
commit | 3a1fd1918f65c0a751a872d66e2d5bb01c64830c (patch) | |
tree | a10932d41f02b310b06dab8b344f6c4a35ff3ee6 /tests/xxx_swc.rs | |
parent | 117cfc10c6d4a0a9346a29353860d1185d1ea224 (diff) | |
download | markdown-rs-3a1fd1918f65c0a751a872d66e2d5bb01c64830c.tar.gz markdown-rs-3a1fd1918f65c0a751a872d66e2d5bb01c64830c.tar.bz2 markdown-rs-3a1fd1918f65c0a751a872d66e2d5bb01c64830c.zip |
Add support for creating a component, using layout
Diffstat (limited to 'tests/xxx_swc.rs')
-rw-r--r-- | tests/xxx_swc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/xxx_swc.rs b/tests/xxx_swc.rs index a882244..5504432 100644 --- a/tests/xxx_swc.rs +++ b/tests/xxx_swc.rs @@ -11,6 +11,7 @@ use test_utils::{ to_swc::{to_swc, Program}, }; +// To do: share with `xxx_document`. fn serialize(program: &Program) -> String { let mut buf = vec![]; let cm = Lrc::new(SourceMap::new(FilePathMapping::empty())); |