summaryrefslogtreecommitdiff
path: root/tests/typ/code/for.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/for.typ')
-rw-r--r--tests/typ/code/for.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/code/for.typ b/tests/typ/code/for.typ
index 63dab9b8..2569f5a7 100644
--- a/tests/typ/code/for.typ
+++ b/tests/typ/code/for.typ
@@ -58,15 +58,15 @@
#test(out, (1, 2, 3, 4, 5, "a", 6, "b", 7))
-// Chars of string.
+// Grapheme clusters of string.
#let first = true
-#let joined = for c in "abc" {
+#let joined = for c in "abc👩‍👩‍👦‍👦" {
if not first { ", " }
first = false
c
}
-#test(joined, "a, b, c")
+#test(joined, "a, b, c, 👩‍👩‍👦‍👦")
// Return value.
#test(for v in "" [], none)