diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-08 13:21:25 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-08 13:21:47 +0100 |
| commit | 80b4ca4c04cb5d911947895d9d04c87efb97b0f4 (patch) | |
| tree | 2de98314a524a0c5663408a51ccb13a5a74ddea4 /tests/src/tests.rs | |
| parent | ec04c3de2fcc5b31d94dc2be8561e569f28cc0a1 (diff) | |
Extract `typst-svg` crate
Diffstat (limited to 'tests/src/tests.rs')
| -rw-r--r-- | tests/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 07dba177..3cf8aa1c 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -439,7 +439,7 @@ fn test( fs::create_dir_all(png_path.parent().unwrap()).unwrap(); canvas.save_png(png_path).unwrap(); - let svg = typst::export::svg_merged(&document.pages, Abs::pt(5.0)); + let svg = typst_svg::svg_merged(&document.pages, Abs::pt(5.0)); fs::create_dir_all(svg_path.parent().unwrap()).unwrap(); std::fs::write(svg_path, svg.as_bytes()).unwrap(); |
