summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/enum.typ12
-rw-r--r--tests/typ/meta/numbering.typ8
2 files changed, 12 insertions, 8 deletions
diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ
index 9512e1b5..341afed4 100644
--- a/tests/typ/layout/enum.typ
+++ b/tests/typ/layout/enum.typ
@@ -4,6 +4,7 @@
#enum[Embrace][Extend][Extinguish]
---
+0. Before first!
1. First.
2. Indented
@@ -22,7 +23,14 @@
/ Term: List
---
+// In the line.
+1.2 \
+This is 0. \
+See 0.3. \
+
+---
// Edge cases.
+
-Empty
-+Nope
+Empty \
++Nope \
+a + 0.
diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ
index 63e45362..ecc3bdbf 100644
--- a/tests/typ/meta/numbering.typ
+++ b/tests/typ/meta/numbering.typ
@@ -1,7 +1,7 @@
// Test integrated numbering patterns.
---
-#for i in range(1, 9) {
+#for i in range(0, 9) {
numbering("*", i)
[ and ]
numbering("I.a", i, i)
@@ -10,9 +10,5 @@
}
---
-// Error: 17-18 number must be positive
-#numbering("1", 0)
-
----
-// Error: 17-19 number must be positive
+// Error: 17-19 number must be at least zero
#numbering("1", -1)