summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Cargo.toml1
-rw-r--r--tests/src/tests.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
index 023776ea..cce7c6af 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -10,6 +10,7 @@ publish = false
typst = { workspace = true }
typst-library = { workspace = true }
typst-render = { workspace = true }
+typst-svg = { workspace = true }
clap = { workspace = true }
comemo = { workspace = true }
ecow = { workspace = true }
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();