summaryrefslogtreecommitdiff
path: root/tests/suite/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/text')
-rw-r--r--tests/suite/text/case.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/suite/text/case.typ b/tests/suite/text/case.typ
index 2bf68bc3..964ff28b 100644
--- a/tests/suite/text/case.typ
+++ b/tests/suite/text/case.typ
@@ -6,6 +6,14 @@
#test(upper(memes), "ARE MEMES GREAT?")
#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
+--- cases-content-text ---
+// Check that cases are applied to text nested in content
+#lower(box("HI!"))
+
+--- cases-content-symbol ---
+// Check that cases are applied to symbols nested in content
+#lower($H I !$.body)
+
--- upper-bad-type ---
// Error: 8-9 expected string or content, found integer
#upper(1)