mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
- Make page break behaviour more consistent - Allow skipping reference image testing for single tests with `// compare-ref: false` (useful for tests which only check error messages)
12 lines
213 B
XML
12 lines
213 B
XML
// Test error cases of the `page` function.
|
|
|
|
// compare-ref: false
|
|
// error: 8:8-8:19 invalid paper
|
|
// error: 11:17-11:20 aligned axis
|
|
|
|
// Invalid paper.
|
|
[page: nonexistant]
|
|
|
|
// Aligned axes.
|
|
[page: main-dir=ltr]
|