summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-30 22:46:03 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-30 22:50:14 +0200
commit2818ceee44a523308d83643b8d2f921b4a5e5d2e (patch)
tree7578dd2e354e64c0265cc6e736828e5803d38762 /tests/typ/code
parent30f302f7ffc464b41f1ac3b6d8fc6b4214835549 (diff)
New default fonts
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