diff options
Diffstat (limited to 'tests/typ/compiler/methods.typ')
| -rw-r--r-- | tests/typ/compiler/methods.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/compiler/methods.typ b/tests/typ/compiler/methods.typ index 8b36dea9..864ed8ad 100644 --- a/tests/typ/compiler/methods.typ +++ b/tests/typ/compiler/methods.typ @@ -48,3 +48,8 @@ --- // Error: 2-5 cannot mutate a constant: box #box.push(1) + +--- +// Test content fields method. +#test([a].fields(), (text: "a")) +#test([a *b*].fields(), (children: ([a], [ ], strong[b]))) |
