diff options
| author | Martin <mhaug@live.de> | 2021-06-18 13:00:36 +0200 |
|---|---|---|
| committer | Martin <mhaug@live.de> | 2021-06-18 13:00:36 +0200 |
| commit | 7db78d83bedf62adea0d715c9a2a179ce23a1a48 (patch) | |
| tree | 71c1db7fe3fae60390e46e18148c5b252b811c48 /tests | |
| parent | 2a30c20f0e2c3b51d3b2746a60e15008f1aa2619 (diff) | |
Levels
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(); } |
