summaryrefslogtreecommitdiff
path: root/tests/typ/basics/enum.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/basics/enum.typ')
-rw-r--r--tests/typ/basics/enum.typ13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/typ/basics/enum.typ b/tests/typ/basics/enum.typ
index e651ca31..c1ce17b7 100644
--- a/tests/typ/basics/enum.typ
+++ b/tests/typ/basics/enum.typ
@@ -39,11 +39,14 @@
---
// Test numbering with closure.
#enum(
- start: 4,
- spacing: 0.65em - 3pt,
- tight: false,
- numbering: n => text(fill: (red, green, blue)(mod(n, 3)), numbering("A", n)),
- [Red], [Green], [Blue],
+ start: 4,
+ spacing: 0.65em - 3pt,
+ tight: false,
+ numbering: n => text(
+ fill: (red, green, blue).at(mod(n, 3)),
+ numbering("A", n),
+ ),
+ [Red], [Green], [Blue],
)
---