From 7e91c8dc87e345ee38b934375d113e824a423a2b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 17 Dec 2020 13:31:34 +0100 Subject: =?UTF-8?q?Add=20func-prefix=20to=20library=20function=20tests=20?= =?UTF-8?q?=E2=9C=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/typ/func-page-error.typ | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/typ/func-page-error.typ (limited to 'tests/typ/func-page-error.typ') 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 -- cgit v1.2.3