summaryrefslogtreecommitdiff
path: root/tests/typ/utility/strings.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/utility/strings.typ')
-rw-r--r--tests/typ/utility/strings.typ12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/typ/utility/strings.typ b/tests/typ/utility/strings.typ
index 91be0faa..4222266b 100644
--- a/tests/typ/utility/strings.typ
+++ b/tests/typ/utility/strings.typ
@@ -1,7 +1,17 @@
-// Test string functions.
+// Test string handling functions.
+// Ref: false
---
// Test the `upper`, `lower`, and number formatting functions.
+#let memes = "ArE mEmEs gReAt?";
+#test(lower(memes), "are memes great?")
+#test(upper(memes), "ARE MEMES GREAT?")
+#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
+
+---
+// Test numbering formatting functions.
+// Ref: true
+
#upper("Abc 8")
#upper[def]