summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
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)