summaryrefslogtreecommitdiff
path: root/tests/typ/structure/enum.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/structure/enum.typ')
-rw-r--r--tests/typ/structure/enum.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/structure/enum.typ b/tests/typ/structure/enum.typ
index b1045ee2..7bd6fa88 100644
--- a/tests/typ/structure/enum.typ
+++ b/tests/typ/structure/enum.typ
@@ -46,6 +46,11 @@
)
---
+#set enum(label: n => n > 1)
+. A
+. B
+
+---
// Lone dot is not a list.
.
@@ -56,8 +61,3 @@
---
// Error: 18-24 invalid pattern
#set enum(label: "(())")
-
----
-// Error: 18-28 expected content, found boolean
-#set enum(label: n => false)
-. A