diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-12-17 13:31:34 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-12-17 13:31:34 +0100 |
| commit | 7e91c8dc87e345ee38b934375d113e824a423a2b (patch) | |
| tree | d644a109545dd90886b95c5a4c84e5fa4cc39bb0 /tests/typ/func-page-error.typ | |
| parent | 0f6c67219e367994cd78ab77b0714e34b78d5a05 (diff) | |
Add func-prefix to library function tests ✏
Diffstat (limited to 'tests/typ/func-page-error.typ')
| -rw-r--r-- | tests/typ/func-page-error.typ | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/typ/func-page-error.typ b/tests/typ/func-page-error.typ new file mode 100644 index 00000000..e259a04e --- /dev/null +++ b/tests/typ/func-page-error.typ @@ -0,0 +1,11 @@ +// Test error cases of the `page` function. + +// Invalid paper. +[page: nonexistant] + +// Aligned axes. +[page: main-dir=ltr] + +// compare-ref: false +// error: 4:8-4:19 invalid paper +// error: 7:17-7:20 aligned axis |
