summaryrefslogtreecommitdiff
path: root/tests/typeset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typeset.rs')
-rw-r--r--tests/typeset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs
index d3f7844b..b0452163 100644
--- a/tests/typeset.rs
+++ b/tests/typeset.rs
@@ -66,7 +66,7 @@ fn main() {
styles.set(PageNode::HEIGHT, Smart::Auto);
styles.set(
PageNode::MARGINS,
- Sides::splat(Smart::Custom(Length::pt(10.0).into())),
+ Sides::splat(Some(Smart::Custom(Length::pt(10.0).into()))),
);
styles.set(TextNode::SIZE, TextSize(Length::pt(10.0).into()));