diff options
Diffstat (limited to 'tests/typ/compiler/content-field.typ')
| -rw-r--r-- | tests/typ/compiler/content-field.typ | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/typ/compiler/content-field.typ b/tests/typ/compiler/content-field.typ index dab4ec4b..96ce1dca 100644 --- a/tests/typ/compiler/content-field.typ +++ b/tests/typ/compiler/content-field.typ @@ -17,10 +17,7 @@ --- // Test it with query. #set raw(lang: "rust") -#locate(loc => { - let elem = query(<myraw>, loc).first() - elem.lang -}) +#context query(<myraw>).first().lang `raw` <myraw> --- |
