summaryrefslogtreecommitdiff
path: root/tests/src/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-24 17:51:07 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-24 17:51:07 +0100
commit96f72eee6c6b595164c7a0576c407d7a590661db (patch)
treed212f57faf3e919937921884a75bf45efb02f4ae /tests/src/tests.rs
parent8d3c68a1deb28dce2b80ed61f85141180ce6a951 (diff)
Separate typesetting and compilation
Diffstat (limited to 'tests/src/tests.rs')
-rw-r--r--tests/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index 2c0a1e71..f96c651b 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -424,7 +424,7 @@ fn test_part(
println!("Model:\n{:#?}\n", module.content);
}
- let (mut frames, errors) = match typst::typeset(world, source) {
+ let (mut frames, errors) = match typst::compile(world, source) {
Ok(frames) => (frames, vec![]),
Err(errors) => (vec![], *errors),
};