diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typeset.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index f4e74bc1..c6d3e8f1 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -225,6 +225,7 @@ fn test_part( state.page.margins = Sides::splat(Some(Length::pt(10.0).into())); let mut pass = typst::typeset(loader, cache, Some(src_path), &src, &scope, state); + if !compare_ref { pass.output.clear(); } |
