diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-16 14:43:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-16 14:43:38 +0100 |
| commit | 67b45403975ba89150d17356dfbcad3e2ed18391 (patch) | |
| tree | d7818f69fcb3922949122a98070dd5617e59897e /tests | |
| parent | f60d344621a47726da7b9fbe7163b2a3fbc3f9ff (diff) | |
Dissolve utility category
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/compute/utility.png | bin | 34604 -> 0 bytes | |||
| -rw-r--r-- | tests/ref/meta/numbering.png | bin | 0 -> 7276 bytes | |||
| -rw-r--r-- | tests/ref/text/lorem.png | bin | 0 -> 27326 bytes | |||
| -rw-r--r-- | tests/typ/meta/numbering.typ | 18 | ||||
| -rw-r--r-- | tests/typ/text/lorem.typ (renamed from tests/typ/compute/utility.typ) | 19 |
5 files changed, 19 insertions, 18 deletions
diff --git a/tests/ref/compute/utility.png b/tests/ref/compute/utility.png Binary files differdeleted file mode 100644 index 79e3096d..00000000 --- a/tests/ref/compute/utility.png +++ /dev/null diff --git a/tests/ref/meta/numbering.png b/tests/ref/meta/numbering.png Binary files differnew file mode 100644 index 00000000..ed97d891 --- /dev/null +++ b/tests/ref/meta/numbering.png diff --git a/tests/ref/text/lorem.png b/tests/ref/text/lorem.png Binary files differnew file mode 100644 index 00000000..ded76330 --- /dev/null +++ b/tests/ref/text/lorem.png diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ new file mode 100644 index 00000000..63e45362 --- /dev/null +++ b/tests/typ/meta/numbering.typ @@ -0,0 +1,18 @@ +// Test integrated numbering patterns. + +--- +#for i in range(1, 9) { + numbering("*", i) + [ and ] + numbering("I.a", i, i) + [ for #i] + parbreak() +} + +--- +// Error: 17-18 number must be positive +#numbering("1", 0) + +--- +// Error: 17-19 number must be positive +#numbering("1", -1) diff --git a/tests/typ/compute/utility.typ b/tests/typ/text/lorem.typ index 73bb2e2d..944fd5be 100644 --- a/tests/typ/compute/utility.typ +++ b/tests/typ/text/lorem.typ @@ -1,4 +1,4 @@ -// Test integrated numbering patterns. +// Test blind text. --- // Test basic call. @@ -30,20 +30,3 @@ --- // Error: 7-9 missing argument: number of words #lorem() - ---- -#for i in range(1, 9) { - numbering("*", i) - [ and ] - numbering("I.a", i, i) - [ for #i] - parbreak() -} - ---- -// Error: 17-18 number must be positive -#numbering("1", 0) - ---- -// Error: 17-19 number must be positive -#numbering("1", -1) |
