summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-06-09 14:50:29 +0200
committerLaurenz <laurmaedje@gmail.com>2023-06-09 14:50:29 +0200
commit7ece53ae0c4df44c90dad9196b30a54edde55e94 (patch)
tree2de8aad7a25312cb761e9c5bb75883c9750a7757 /tests
parent903f440b28e2c5840c700fe0b00db19238737c31 (diff)
Adjust outline indent option
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/meta/outline-indent.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/meta/outline-indent.typ b/tests/typ/meta/outline-indent.typ
index a4ef6c81..b0132d43 100644
--- a/tests/typ/meta/outline-indent.typ
+++ b/tests/typ/meta/outline-indent.typ
@@ -35,7 +35,7 @@
#outline(indent: true)
#outline(indent: none)
#outline(indent: auto)
-#outline(indent: 2em)
+#outline(indent: n => 2em * n)
#outline(indent: n => ([-], [], [==], [====]).at(n))
#outline(indent: n => "!" * calc.pow(2, n))
@@ -54,7 +54,7 @@
#lorem(10)
---
-// Error: 2-35 indent function must return content
+// Error: 2-35 expected relative length or content, found dictionary
#outline(indent: n => (a: "dict"))
= Heading