summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/repeat.typ15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/typ/text/repeat.typ b/tests/typ/text/repeat.typ
new file mode 100644
index 00000000..0036999a
--- /dev/null
+++ b/tests/typ/text/repeat.typ
@@ -0,0 +1,15 @@
+// Test the `repeat` function.
+
+---
+#let sections = (
+ ("Introduction", 1),
+ ("Approach", 1),
+ ("Evaluation", 3),
+ ("Discussion", 15),
+ ("Related Work", 16),
+ ("Conclusion", 253),
+)
+
+#for section in sections [
+ #section(0) #repeat[.] #section(1) \
+]