ref: ca311f0bd83c9d72848f5361a3f1736c7bb751da
parent: 346140113cb979d60f27fb3795f08e5976c0c712
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Dec 26 16:52:10 EST 2018
Comment.
--- a/lib/std/test/striter.myr
+++ b/lib/std/test/striter.myr
@@ -4,15 +4,15 @@
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