summaryrefslogtreecommitdiff
path: root/tests/typ/utility
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/utility')
-rw-r--r--tests/typ/utility/collection.typ6
-rw-r--r--tests/typ/utility/strings.typ12
2 files changed, 11 insertions, 7 deletions
diff --git a/tests/typ/utility/collection.typ b/tests/typ/utility/collection.typ
index 92ec2867..a4bc817e 100644
--- a/tests/typ/utility/collection.typ
+++ b/tests/typ/utility/collection.typ
@@ -2,12 +2,6 @@
// Ref: false
---
-#let memes = "ArE mEmEs gReAt?";
-#test(lower(memes), "are memes great?")
-#test(upper(memes), "ARE MEMES GREAT?")
-#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
-
----
// Test the `len` function.
#test(len(()), 0)
#test(len(("A", "B", "C")), 3)
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]