summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-25 13:50:33 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-25 13:59:06 +0200
commitc010cbc17dcbb2f0d6005d21530143bf57cb5871 (patch)
tree937fe79f0c121bcc025480181287fd4a3d0c0f4f /tests
parent6935cf8dfefff3d6cf234f077a7d61661fd5ca57 (diff)
Move route from context to VM
Diffstat (limited to 'tests')
-rw-r--r--tests/typeset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs
index caa30d7e..b334ae9a 100644
--- a/tests/typeset.rs
+++ b/tests/typeset.rs
@@ -290,7 +290,7 @@ fn test_part(
ok &= test_reparse(ctx.sources.get(id).src(), i, rng);
- let (mut frames, mut errors) = match ctx.typeset(id) {
+ let (mut frames, mut errors) = match typst::typeset(ctx, id) {
Ok(frames) => (frames, vec![]),
Err(errors) => (vec![], *errors),
};