summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-05 19:48:37 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-05 19:48:37 +0100
commit72a9631b038d1a60e4e4a78e92cd69e6f8ce4316 (patch)
tree17614efc2e21dd0b8caa24beaaaee7c40c150281 /tests
parentf72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 (diff)
Move arg parser into `FuncArgs` and create (incomplete) consistent map 🧭
Diffstat (limited to 'tests')
-rw-r--r--tests/layouting.rs4
-rw-r--r--tests/layouts/align.typ2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/layouting.rs b/tests/layouting.rs
index 72d160e4..845c0034 100644
--- a/tests/layouting.rs
+++ b/tests/layouting.rs
@@ -3,10 +3,10 @@ use std::io::{BufWriter, Read, Write};
use std::process::Command;
use typst::export::pdf::PdfExporter;
-use typst::layout::LayoutAction;
-use typst::toddle::query::FileSystemFontProvider;
+use typst::layout::{LayoutAction, Serialize};
use typst::size::{Size, Size2D, SizeBox};
use typst::style::PageStyle;
+use typst::toddle::query::FileSystemFontProvider;
use typst::Typesetter;
const CACHE_DIR: &str = "tests/cache";
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ
index c3c60733..a7101932 100644
--- a/tests/layouts/align.typ
+++ b/tests/layouts/align.typ
@@ -3,7 +3,7 @@
A short sentence. [n] [align: right][words.]
- A short sentence. [paragraph.break] [align: right][words.]
+ A short sentence. [par.break] [align: right][words.]
[align: bottom]
A longer sentence with a few more words.