summaryrefslogtreecommitdiff
path: root/tests/src/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-19 23:33:33 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-19 23:33:33 +0100
commit8eeb4ad8f6df3bedebdb86f95e013a9ea71fb687 (patch)
tree435a9afc2cfd900e6cb76e77d3e57b964c89ec8c /tests/src/tests.rs
parent565b1977aef9db70aef29a1eb8747f42a7fe4a15 (diff)
Rename `margins` to `margin`
Diffstat (limited to 'tests/src/tests.rs')
-rw-r--r--tests/src/tests.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index aa9beaee..237eaf22 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -148,8 +148,7 @@ fn config() -> Config {
let mut styles = typst_library::styles();
styles.set(PageNode::WIDTH, Smart::Custom(Abs::pt(120.0).into()));
styles.set(PageNode::HEIGHT, Smart::Auto);
- styles
- .set(PageNode::MARGINS, Sides::splat(Some(Smart::Custom(Abs::pt(10.0).into()))));
+ styles.set(PageNode::MARGIN, Sides::splat(Some(Smart::Custom(Abs::pt(10.0).into()))));
styles.set(TextNode::SIZE, TextSize(Abs::pt(10.0).into()));
// Hook up helpers into the global scope.