summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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