summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/set.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/set.typ b/tests/typ/compiler/set.typ
index 36a42745..a4482e6d 100644
--- a/tests/typ/compiler/set.typ
+++ b/tests/typ/compiler/set.typ
@@ -51,8 +51,8 @@ Hello *#x*
---
// Test conditional set.
#show ref: it => {
- set text(red) if it.target == "unknown"
- it
+ set text(red) if it.label == <unknown>
+ "@" + str(it.label)
}
@hello from the @unknown