summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-08 14:32:42 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-08 15:09:55 +0100
commit46846a337e8084acd46c70bccc2fca2659e9fb9a (patch)
tree9e9d6abf76867d823644e85e34571c70e07eea4f /tests
parent80b4ca4c04cb5d911947895d9d04c87efb97b0f4 (diff)
Extract `typst-pdf` crate
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 cce7c6af..ca8c1c0c 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -9,6 +9,7 @@ publish = false
[dev-dependencies]
typst = { workspace = true }
typst-library = { workspace = true }
+typst-pdf = { workspace = true }
typst-render = { workspace = true }
typst-svg = { workspace = true }
clap = { workspace = true }
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index 3cf8aa1c..0271839c 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -420,7 +420,7 @@ fn test(
let document = Document { pages: frames, ..Default::default() };
if compare_ever {
if let Some(pdf_path) = pdf_path {
- let pdf_data = typst::export::pdf(
+ let pdf_data = typst_pdf::pdf(
&document,
Some(&format!("typst-test: {}", name.display())),
world.today(Some(0)),