summaryrefslogtreecommitdiff
path: root/tests/typ/structure/enum.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-05 15:04:35 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-05 15:10:15 +0200
commitb8233a9e01229963370f0357791ed02b067bce1b (patch)
treee74df49e0db1ea578f45c49f81b6f9aa2b70aedf /tests/typ/structure/enum.typ
parentb865accae6c5e9f5d62afe4637c985c81b70eb4f (diff)
Don't allow empty lists and enums
Diffstat (limited to 'tests/typ/structure/enum.typ')
-rw-r--r--tests/typ/structure/enum.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/structure/enum.typ b/tests/typ/structure/enum.typ
index 24c28147..31eb0d62 100644
--- a/tests/typ/structure/enum.typ
+++ b/tests/typ/structure/enum.typ
@@ -47,6 +47,10 @@
)
---
+// Lone dot is not a list.
+.
+
+---
// Error: 18-20 invalid pattern
#set enum(label: "")