summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/compiler/label.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/compiler/label.typ b/tests/typ/compiler/label.typ
index 58b0dee9..407a849d 100644
--- a/tests/typ/compiler/label.typ
+++ b/tests/typ/compiler/label.typ
@@ -56,3 +56,10 @@ _Visible_
---
// Test that incomplete label is text.
1 < 2 is #if 1 < 2 [not] a label.
+
+---
+// Test label on text, styled, and sequence.
+// Ref: false
+#test([Hello<hi>].label, <hi>)
+#test([#[A *B* C]<hi>].label, <hi>)
+#test([#text(red)[Hello]<hi>].label, <hi>)