summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-17 14:38:48 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-23 20:23:47 +0200
commit5becb32ba463d6b0ace914ab06bb237483a94fbc (patch)
tree684efb242ddb04e71c54f9665cc59891f734e518 /tests
parentc627847cb39572c08f3b53db07ea325ef0d352fa (diff)
Introduce page / block / inline levels
Diffstat (limited to 'tests')
-rw-r--r--tests/typeset.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs
index 913e172a..4eab0383 100644
--- a/tests/typeset.rs
+++ b/tests/typeset.rs
@@ -17,7 +17,7 @@ use typst::geom::{
};
use typst::image::Image;
#[cfg(feature = "layout-cache")]
-use typst::layout::LayoutTree;
+use typst::layout::PageNode;
use typst::layout::{layout, Element, Frame, Geometry, Text};
use typst::loading::FsLoader;
use typst::parse::Scanner;
@@ -282,7 +282,7 @@ fn test_part(
fn test_incremental(
ctx: &mut Context,
i: usize,
- tree: &LayoutTree,
+ tree: &[PageNode],
frames: &[Rc<Frame>],
) -> bool {
let mut ok = true;