summaryrefslogtreecommitdiff
path: root/tests/typ/code/field.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/field.typ')
-rw-r--r--tests/typ/code/field.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/field.typ b/tests/typ/code/field.typ
index b63a8768..abea87fb 100644
--- a/tests/typ/code/field.typ
+++ b/tests/typ/code/field.typ
@@ -14,7 +14,7 @@
---
// Test field on node.
-#show node: list as {
+#show list: node => {
test(node.items.len(), 3)
}
@@ -32,7 +32,7 @@
---
// Error: 29-32 unknown field "fun"
-#show node: heading as node.fun
+#show heading: node => node.fun
= A
---