summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/label.typ
diff options
context:
space:
mode:
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
}