summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-16 14:43:38 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-16 14:43:38 +0100
commit67b45403975ba89150d17356dfbcad3e2ed18391 (patch)
treed7818f69fcb3922949122a98070dd5617e59897e /tests/typ
parentf60d344621a47726da7b9fbe7163b2a3fbc3f9ff (diff)
Dissolve utility category
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/meta/numbering.typ18
-rw-r--r--tests/typ/text/lorem.typ (renamed from tests/typ/compute/utility.typ)19
2 files changed, 19 insertions, 18 deletions
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)