summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/label.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-10 20:47:23 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-10 21:19:50 +0100
commita9fdff244aef859449a76e5f762ee7c343a8ddcc (patch)
tree172b543183296b4bc30b3008650f594688467914 /tests/typ/compiler/label.typ
parent62f35602a87574dcc607f1637aeae1be574981ff (diff)
Expose content representation more
Diffstat (limited to 'tests/typ/compiler/label.typ')
-rw-r--r--tests/typ/compiler/label.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/label.typ b/tests/typ/compiler/label.typ
index d4ff15d7..58b0dee9 100644
--- a/tests/typ/compiler/label.typ
+++ b/tests/typ/compiler/label.typ
@@ -22,7 +22,7 @@ The end.
---
// Test labelled text.
#show "t": it => {
- set text(blue) if it.label == <last>
+ set text(blue) if it.has("label") and it.label == <last>
it
}