summaryrefslogtreecommitdiff
path: root/lib/std/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-12-26 21:52:10 -0800
committerOri Bernstein <ori@eigenstate.org>2018-12-26 21:52:10 -0800
commitca311f0bd83c9d72848f5361a3f1736c7bb751da (patch)
tree1cb6d0bf836ab01fccda05bfd1222b1df167758e /lib/std/test
parent346140113cb979d60f27fb3795f08e5976c0c712 (diff)
downloadmc-ca311f0bd83c9d72848f5361a3f1736c7bb751da.tar.gz
Comment.
Diffstat (limited to 'lib/std/test')
-rw-r--r--lib/std/test/striter.myr18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/std/test/striter.myr b/lib/std/test/striter.myr
index 0f93fb1..70ad11b 100644
--- a/lib/std/test/striter.myr
+++ b/lib/std/test/striter.myr
@@ -4,15 +4,15 @@ const main = {
var chars = ['a', 'b', 'c']
var splits = ["foo", "+bar"]
var graphemes = [
- [0x300][:],
- [0x61][:],
- [0x53f2][:],
- [0x63][:],
- [0x9][:],
- [0x42f][:],
- [0x78, 0x300, 0x300, 0x300, 0x300, 0x300][:],
- [0xa][:],
- [0x7a, 0x309][:]
+ [0x300][:], /* disconnected accent */
+ [0x61][:], /* 'a' */
+ [0x53f2][:], /* '史', single codepoint */
+ [0x63][:], /* 'b' */
+ [0x9][:], /* '\t' */
+ [0x42f][:], /* 'Я' */
+ [0x78, 0x300, 0x300, 0x300, 0x300, 0x300][:], /* x, 4 accents */
+ [0xa][:], /* '\n' */
+ [0x7a, 0x309][:] /* 'z', accent */
]
var i