summaryrefslogtreecommitdiff
path: root/tests/src/tests.rs
diff options
context:
space:
mode:
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),
};