summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/for.typ4
-rw-r--r--tests/typ/code/include.typ2
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/typ/code/for.typ b/tests/typ/code/for.typ
index 0785be71..63dab9b8 100644
--- a/tests/typ/code/for.typ
+++ b/tests/typ/code/for.typ
@@ -14,10 +14,10 @@
]
// Block body.
-// Should output `[1st, 2nd, 3rd, 4th, 5th]`.
+// Should output `[1st, 2nd, 3rd, 4th]`.
{
"["
- for v in (1, 2, 3, 4, 5) {
+ for v in (1, 2, 3, 4) {
if v > 1 [, ]
[#v]
if v == 1 [st]
diff --git a/tests/typ/code/include.typ b/tests/typ/code/include.typ
index 8a9d0a30..83e00384 100644
--- a/tests/typ/code/include.typ
+++ b/tests/typ/code/include.typ
@@ -1,6 +1,8 @@
// Test include statements.
---
+#page(width: 200pt)
+
= Document
// Include a file